mirror of https://github.com/FFmpeg/FFmpeg.git
pts may not be set on input packets, which could result in the entire stream
being discarded.
This reverts commit 8fc2dedfe6
, 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>
pull/389/head
parent
37cde570bc
commit
cbcc817353
1 changed files with 3 additions and 8 deletions
Loading…
Reference in new issue