avconv: add support for Intel QSV-accelerated transcoding
[ffmpeg.git] / avconv.c
index 23f6db6..c52f292 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -1852,6 +1852,11 @@ static int transcode_init(void)
                 }
             }
 
+#if CONFIG_LIBMFX
+            if (qsv_transcode_init(ost))
+                exit_program(1);
+#endif
+
             if (!ost->filter &&
                 (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO ||
                  enc_ctx->codec_type == AVMEDIA_TYPE_AUDIO)) {