mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-18 13:00:00 +01:00
vaapi_encode: Add MPEG-2 support
This commit is contained in:
committed by
Mark Thompson
parent
3c2717e48d
commit
ca6ae3b77a
@@ -320,6 +320,7 @@ static int vaapi_encode_issue(AVCodecContext *avctx,
|
||||
err = AVERROR(ENOMEM);
|
||||
goto fail;
|
||||
}
|
||||
slice->index = i;
|
||||
pic->slices[i] = slice;
|
||||
|
||||
if (ctx->codec->slice_params_size > 0) {
|
||||
|
||||
Reference in New Issue
Block a user