This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 5687240bc0537051da413f0da5a434c73a3e0413 Author: Matthew Crossley <[email protected]> AuthorDate: Mon Nov 9 09:21:14 2026 +0000 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 26 22:32:57 2026 +0100 avformat/dashdec: compute segment bounds after refreshing manifest min_seq_no and max_seq_no were computed before refresh_manifest(), so were using the bounds of the previous manifest. Segments only available in refreshed manifest were treated as not yet available. A sequence equal to the refreshed minimum is still available, so retain it instead of treating it as expired and selecting a new live position. Calculate the bounds after refresh instead. Signed-off-by: Matthew Crossley <[email protected]> (cherry picked from commit b9fada3b794978e287fec371c1db235081fefba5) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/dashdec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 717e8c2c5d..b5499116ad 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1733,7 +1733,10 @@ static struct fragment *get_current_fragment(struct representation *pls) if (pls->timelines || pls->fragments) { refresh_manifest(pls->parent); } - if (pls->cur_seq_no <= min_seq_no) { + min_seq_no = calc_min_seg_no(pls->parent, pls); + max_seq_no = calc_max_seg_no(pls, c); + + if (pls->cur_seq_no < min_seq_no) { av_log(pls->parent, AV_LOG_VERBOSE, "old fragment: cur[%"PRId64"] min[%"PRId64"] max[%"PRId64"]\n", (int64_t)pls->cur_seq_no, min_seq_no, max_seq_no); pls->cur_seq_no = calc_cur_seg_no(pls->parent, pls); } else if (pls->cur_seq_no > max_seq_no) { -- 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]
