diff options
author | Marth64 <marth64@proxyid.net> | 2024-07-02 01:41:31 -0500 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2024-07-13 17:17:36 +0200 |
commit | f1abb754aaae7c74962940c75cae2edc51f7a2ba (patch) | |
tree | caa74bc25892b1ea0721779ea5b5c2d2c603c468 /libavcodec/qpel_template.c | |
parent | f37f86a774fab1f760efa920b797e2d3229c6e27 (diff) | |
download | ffmpeg-f1abb754aaae7c74962940c75cae2edc51f7a2ba.tar.gz |
avformat/dvdvideodec: Fix incorrect padding cell trim logic
When -trim option is used (by default), padding cells
at the beginning of the title are supposed to be ignored.
The current implementation does the ignoring after we
have locked on to the PGC navigation event stream,
but does not set the PGC/PG state properly.
This causes false positives and errors on some discs
due to a search for a program stream cell that
never succeeds. User would have to know to disable
the -trim option to work around the issue.
Simplify the logic and move it to the NAV packet
event handling, in turn implementing the behaviour
correctly and fixing the trim function for impacted discs.
Signed-off-by: Marth64 <marth64@proxyid.net>
Diffstat (limited to 'libavcodec/qpel_template.c')
0 files changed, 0 insertions, 0 deletions