mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-12 20:20:47 +08: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