This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit f712955fa583771e389c2305a51f6f5a2b8930b1 Author: Romain Beauxis <[email protected]> AuthorDate: Sun Nov 22 15:31:43 2026 -0500 Commit: Romain Beauxis <[email protected]> CommitDate: Wed Nov 25 14:34:52 2026 +0000 avformat/ogg/muxer: flush the pages of every video stream on keyframes Theora and VP8, the only video codecs the muxer supports, end a page on keyframes and timestamp jumps. Select that by the media type rather than by codec, so that it does not depend on a codec list. --- libavformat/ogg/muxer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ogg/muxer.c b/libavformat/ogg/muxer.c index 5a7c5f1909..8805af9109 100644 --- a/libavformat/ogg/muxer.c +++ b/libavformat/ogg/muxer.c @@ -224,7 +224,7 @@ static int ogg_buffer_data(AVFormatContext *s, AVStream *st, // them as such, otherwise seeking will not work correctly at the very // least with old libogg versions. // Do not try to flush header packets though, that will create broken files. - if ((st->codecpar->codec_id == AV_CODEC_ID_THEORA || st->codecpar->codec_id == AV_CODEC_ID_VP8) && !header && + if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && !header && (ogg_granule_to_timestamp(oggstream, granule) > ogg_granule_to_timestamp(oggstream, oggstream->last_granule) + 1 || ogg_key_granule(oggstream, granule))) { -- 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]
