vaapi_encode: Add MPEG-2 support
(cherry picked from commit ca6ae3b77a
)
This commit is contained in:
parent
eefa4b76ee
commit
3b95c7c17d
8 changed files with 481 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue