[FFmpeg-devel] [PATCH v2 2/2] avfilter: add vf_overlay_cuda
Yaroslav Pogrebnyak
yyyaroslav at gmail.com
Thu Mar 19 16:59:53 EET 2020
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.
More information about the ffmpeg-devel
mailing list