]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/videotoolboxenc.c
configure: Simplify detection of static x264 on systems without pkg-config.
[ffmpeg] / libavcodec / videotoolboxenc.c
index 93338eabde2a7e7dfe0975d2e96b0603ea851a3f..7796a685c25eee7f640e90007de9897029588655 100644 (file)
@@ -1939,8 +1939,6 @@ static int get_cv_pixel_info(
                    "Color range not set for %s. Using MPEG range.\n",
                    av_get_pix_fmt_name(av_format));
         }
-
-        av_log(avctx, AV_LOG_WARNING, "");
     }
 
     switch (av_format) {
@@ -2601,8 +2599,9 @@ AVCodec ff_hevc_videotoolbox_encoder = {
     .init             = vtenc_init,
     .encode2          = vtenc_frame,
     .close            = vtenc_close,
-    .capabilities     = AV_CODEC_CAP_DELAY,
+    .capabilities     = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HARDWARE,
     .priv_class       = &hevc_videotoolbox_class,
     .caps_internal    = FF_CODEC_CAP_INIT_THREADSAFE |
                         FF_CODEC_CAP_INIT_CLEANUP,
+    .wrapper_name     = "videotoolbox",
 };