Skip to content

Commit

Permalink
Fixed vaapi SD streams
Browse files Browse the repository at this point in the history
  • Loading branch information
jojo61 committed Feb 2, 2020
1 parent f7449c8 commit 9d04170
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video.c
Original file line number Diff line number Diff line change
Expand Up @@ -2792,6 +2792,7 @@ static int init_generic_hwaccel(CuvidDecoder * decoder, enum AVPixelFormat hw_fm
}

if (!decoder->cached_hw_frames_ctx) {
new_fctx->initial_pool_size = 17;
if (av_hwframe_ctx_init(new_frames_ctx) < 0) {
Debug(3, "Failed to allocate hw frames.\n");
goto error;
Expand Down

0 comments on commit 9d04170

Please sign in to comment.