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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 5abc240a27 avcodec/videotoolboxenc: add missing field and rectify cap 
flags
5abc240a27 is described below

commit 5abc240a272a1a4b1d17e596c5bed174c01a2666
Author:     Gyan Doshi <[email protected]>
AuthorDate: Sat Apr 4 12:59:47 2026 +0530
Commit:     Gyan Doshi <[email protected]>
CommitDate: Thu Apr 16 09:58:06 2026 +0000

    avcodec/videotoolboxenc: add missing field and rectify cap flags
---
 libavcodec/videotoolboxenc.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index cb3571c723..3cae57e5f6 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -2851,7 +2851,8 @@ const FFCodec ff_h264_videotoolbox_encoder = {
     CODEC_LONG_NAME("VideoToolbox H.264 Encoder"),
     .p.type           = AVMEDIA_TYPE_VIDEO,
     .p.id             = AV_CODEC_ID_H264,
-    .p.capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
+    .p.capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
+                        AV_CODEC_CAP_HYBRID,
     .priv_data_size   = sizeof(VTEncContext),
     CODEC_PIXFMTS_ARRAY(avc_pix_fmts),
     .defaults         = vt_defaults,
@@ -2860,6 +2861,7 @@ const FFCodec ff_h264_videotoolbox_encoder = {
     .close            = vtenc_close,
     .p.priv_class     = &h264_videotoolbox_class,
     .caps_internal    = FF_CODEC_CAP_INIT_CLEANUP,
+    .p.wrapper_name   = "videotoolbox",
     .hw_configs       = vt_encode_hw_configs,
 };
 
@@ -2891,7 +2893,7 @@ const FFCodec ff_hevc_videotoolbox_encoder = {
     .p.type           = AVMEDIA_TYPE_VIDEO,
     .p.id             = AV_CODEC_ID_HEVC,
     .p.capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
-                        AV_CODEC_CAP_HARDWARE,
+                        AV_CODEC_CAP_HYBRID,
     .priv_data_size   = sizeof(VTEncContext),
     CODEC_PIXFMTS_ARRAY(hevc_pix_fmts),
     .defaults         = vt_defaults,
@@ -2932,7 +2934,7 @@ const FFCodec ff_prores_videotoolbox_encoder = {
     .p.type           = AVMEDIA_TYPE_VIDEO,
     .p.id             = AV_CODEC_ID_PRORES,
     .p.capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
-                        AV_CODEC_CAP_HARDWARE,
+                        AV_CODEC_CAP_HYBRID,
     .priv_data_size   = sizeof(VTEncContext),
     CODEC_PIXFMTS_ARRAY(prores_pix_fmts),
     .defaults         = vt_defaults,

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to