[FFmpeg-devel] [PATCH 1/1] synchronize the stream after copying the components

Gil Shapira Gil.Shapira at intusurg.com
Sat Jun 12 01:38:41 EEST 2021


Hi ffmpeg-devel community,

I recently encountered a problem with ffmpeg Cuda decoder.
When working with Cuda frame, after calling to the `avcodec_receive_frame` function, the returned AVFrame (which contains a Cuda buffer) may contain invalid data.
It doesn't happen often, the frequency of that behavior is pretty low.
The attached patch fixes this issue.

Thanks,
Gil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-synchronize-the-stream-after-copying-the-components.patch
Type: application/octet-stream
Size: 1072 bytes
Desc: 0001-synchronize-the-stream-after-copying-the-components.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210611/890b090d/attachment.obj>


More information about the ffmpeg-devel mailing list