[FFmpeg-devel] [PATCH 5/6] hwcontext: Perform usual initialisation on derived device contexts
Mark Thompson
sw at jkqxz.net
Sun Oct 8 18:52:59 EEST 2017
On 08/10/17 16:49, Derek Buitenhuis wrote:
> On 10/8/2017 4:11 PM, Mark Thompson wrote:
>> - ret = qsv_device_init(ctx);
>> - if (ret < 0)
>> - goto fail;
>
> From the patch context alone, this looks kinda iffy. I assume
> qsv_device_init is now called via av_hwdevice_ctx_init?
Yes. It always was for the non-derived case, resulting in it being called twice (for qsv it doesn't actually do anything beyond some checks, so this was harmless).
- Mark
More information about the ffmpeg-devel
mailing list