aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-03-16 14:09:49 -0300
committerJames Almer <jamrial@gmail.com>2023-03-22 12:49:30 -0300
commitcbcc817353a019da4332ad43deb7bbc4e695d02a (patch)
tree559c501cb522b2ebbca87fa82b51f4252d3e5c3b /libswresample/swresample.h
parent37cde570bc2dcd64a15c5d9a37b9fa0d78d84f9f (diff)
downloadffmpeg-cbcc817353a019da4332ad43deb7bbc4e695d02a.tar.gz
avcodec/vorbisdec: export skip_samples instead of dropping frames
pts may not be set on input packets, which could result in the entire stream being discarded. This reverts commit 8fc2dedfe6e8fcc58dd052bf3b85cd4754133b17, reintroducing the behavior it replaced but now allowing the caller to manually drop the preroll samples by looking at the skip_samples side data at the start while ignoring it on seek, by setting the skip_manual avctx flag. Fixes ticket #10251. Suggested-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libswresample/swresample.h')
0 files changed, 0 insertions, 0 deletions