]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.c
avformat/udp: replace packet_gap with bitrate option
[ffmpeg] / ffmpeg.c
index 7c60075fa4e058f38518deca4f2f4822b7f632ee..652774f6cc7b4ade147abc1ca883eb1950c5de9a 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3063,6 +3063,11 @@ static int transcode_init(void)
                 exit_program(1);
 #endif
 
+#if CONFIG_CUVID
+            if (cuvid_transcode_init(ost))
+                exit_program(1);
+#endif
+
             if (!ost->filter &&
                 (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO ||
                  enc_ctx->codec_type == AVMEDIA_TYPE_AUDIO)) {