[FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source
Timo Rothenpieler
timo at rothenpieler.org
Fri Jan 19 12:09:51 EET 2018
Am 18.01.2018 um 07:52 schrieb Yogender Gupta:
> Improved the patch by dynamic allocation.
>
> Thanks,
> Yogender
>
> @@ -1072,6 +1083,8 @@ static void cuvid_flush(AVCodecContext *avctx)
> if (ret < 0)
> goto error;
>
> + av_free(ctx->key_frame);
> +
> ctx->prev_pts = INT64_MIN;
> ctx->decoder_flushing = 0;
>
> --
> 2.10.1.windows.1
>
I guess you meant to put that into cuvid_decode_end, and not cuvid_flush.
Will push soonish with it moved there.
Thanks,
Timo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180119/532fb22e/attachment.bin>
More information about the ffmpeg-devel
mailing list