]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vaapi_encode_mpeg2.c
avutil/hwcontext_cuda: Only handle CUDA hardware frames
[ffmpeg] / libavcodec / vaapi_encode_mpeg2.c
index fb1ef71fdc15aeada70fc1ec67cab24b609874ae..bac9ea1fa6fb5a658700a23c7c50088f6f973701 100644 (file)
@@ -552,6 +552,8 @@ static av_cold int vaapi_encode_mpeg2_configure(AVCodecContext *avctx)
     ctx->nb_slices  = ctx->slice_block_rows;
     ctx->slice_size = 1;
 
+    ctx->roi_quant_range = 31;
+
     return 0;
 }