This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7df07a6ad7fbe84754b70544ec6b5a779c712452 Author: Romain Beauxis <[email protected]> AuthorDate: Sat Nov 7 16:59:44 2026 -0600 Commit: Romain Beauxis <[email protected]> CommitDate: Thu Nov 12 13:50:33 2026 +0000 fftools/ffplay: seek with the audio pre-roll ffplay decodes everything it reads, so its seeks need the audio pre-roll before the target. Set AVSEEK_FLAG_PREROLL in seek_flags rather than on each seek, so that the seeks concat makes at an inpoint get it too. --- fftools/ffplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index a149ec555c..c7c6933a1b 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -3249,6 +3249,7 @@ static int read_thread(void *arg) } ic->interrupt_callback.callback = decode_interrupt_cb; ic->interrupt_callback.opaque = is; + ic->seek_flags |= AVSEEK_FLAG_PREROLL; if ((ret = av_dict_copy(&format_options, format_opts, 0)) < 0) goto fail; if (!av_dict_get(format_options, "scan_all_pmts", NULL, AV_DICT_MATCH_CASE)) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
