This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 81f2ea37e4b891af4251cda171fc350bdfb06b7b
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Oct 12 03:52:42 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 20 02:25:09 2026 +0000

    avcodec: declare support for parameter changes in the rawvideo and 
wrapped_avframe encoders
    
    Both encoders take the size and format of every frame from the frame
    itself.
---
 libavcodec/rawenc.c          | 2 +-
 libavcodec/wrapped_avframe.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index 8c577006d9..97726db599 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -87,7 +87,7 @@ const FFCodec ff_rawvideo_encoder = {
     .p.type         = AVMEDIA_TYPE_VIDEO,
     .p.id           = AV_CODEC_ID_RAWVIDEO,
     .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS |
-                      AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
+                      AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE | 
AV_CODEC_CAP_PARAM_CHANGE,
     .init           = raw_encode_init,
     FF_CODEC_ENCODE_CB(raw_encode),
 };
diff --git a/libavcodec/wrapped_avframe.c b/libavcodec/wrapped_avframe.c
index a513bb3d39..751ab4f346 100644
--- a/libavcodec/wrapped_avframe.c
+++ b/libavcodec/wrapped_avframe.c
@@ -108,7 +108,7 @@ const FFCodec ff_wrapped_avframe_encoder = {
     CODEC_LONG_NAME("AVFrame to AVPacket passthrough"),
     .p.type         = AVMEDIA_TYPE_VIDEO,
     .p.id           = AV_CODEC_ID_WRAPPED_AVFRAME,
-    .p.capabilities = AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
+    .p.capabilities = AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE | 
AV_CODEC_CAP_PARAM_CHANGE,
     FF_CODEC_ENCODE_CB(wrapped_avframe_encode),
 };
 

-- 
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]

Reply via email to