On 19.03.20 22:41, Timo Rothenpieler wrote:
h264_cuvid copies frames back to normal VRAM, and does not pass around
mapped nvdec surfaces, like nvdec does.
Writing around in these is documented as disallowed.
You can call av_frame_is_writable() on the frame. If it returns true,
it's safe to write into it. If it returns false, you have to allocate
a new output frame.
Got it, thanks! I'll re-do it and submit updated patch soon.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".