diff options
author | Marth64 <marth64@proxyid.net> | 2025-02-01 13:01:42 -0600 |
---|---|---|
committer | Marth64 <marth64@proxyid.net> | 2025-06-15 12:22:23 -0500 |
commit | f8c8e1f39da073b6152c5420c7ff671b1362677a (patch) | |
tree | 005585877bc8680de28070ebb64dabc901358cd9 /tests/checkasm/h264dsp.c | |
parent | 693703bcdbfda1394160d3d9a610c1e85e4984c4 (diff) | |
download | ffmpeg-f8c8e1f39da073b6152c5420c7ff671b1362677a.tar.gz |
avformat/dvdvideodec: fix seeking on multi-angle discs
When seeking on multi-angle titles, libdvdnav does not lock on
to the correct sectors initially as it seeks to find the right NAV packet.
This manifests itself as two bugs:
(1) When seeking on the first angle in a multi-angle segment,
frames from another angle will appear (for example in intro
or credits scenes). This issue is present in VLC also.
(2) When seeking during a segment on angle n+1, the demuxer
cannot deduce the right position from dvdnav and does not allow
seeking within the segment (due to it maintaining a strict state).
Correct the issue by switching to angle 1 before doing the seek
operation, and skipping 3 VOBUs (NAV packet led segments) ahead
where dvdnav will have positioned itself correctly.
Reported-by: Kacper Michajlow <kasper93@gmail.com>
Signed-off-by: Marth64 <marth64@proxyid.net>
Diffstat (limited to 'tests/checkasm/h264dsp.c')
0 files changed, 0 insertions, 0 deletions