Re: [FFmpeg-devel] [PATCH 4/6] hwcontext_vaapi: Set message callbacks on internally-created devices

2017-10-08 Thread Derek Buitenhuis
On 10/8/2017 5:00 PM, Mark Thompson wrote: > Easy enough to do. > > Split as: > > """ > hwcontext_vaapi: Factorise out common connection code > > This was duplicated between normal device creation and creation by > derivation from a DRM device. > """ > > and > > """ > hwcontext_vaapi: Set mess

Re: [FFmpeg-devel] [PATCH 4/6] hwcontext_vaapi: Set message callbacks on internally-created devices

2017-10-08 Thread Mark Thompson
On 08/10/17 16:51, Derek Buitenhuis wrote: > On 10/8/2017 4:11 PM, Mark Thompson wrote: >> The message callbacks are library-safe in libva2, so we can now use >> them. Also factorise out the common connection code to avoid >> duplicating this change. >> --- >> libavutil/hwcontext_vaapi.c | 74 >>

Re: [FFmpeg-devel] [PATCH 4/6] hwcontext_vaapi: Set message callbacks on internally-created devices

2017-10-08 Thread Derek Buitenhuis
On 10/8/2017 4:11 PM, Mark Thompson wrote: > The message callbacks are library-safe in libva2, so we can now use > them. Also factorise out the common connection code to avoid > duplicating this change. > --- > libavutil/hwcontext_vaapi.c | 74 > +++-- > 1

[FFmpeg-devel] [PATCH 4/6] hwcontext_vaapi: Set message callbacks on internally-created devices

2017-10-08 Thread Mark Thompson
The message callbacks are library-safe in libva2, so we can now use them. Also factorise out the common connection code to avoid duplicating this change. --- libavutil/hwcontext_vaapi.c | 74 +++-- 1 file changed, 45 insertions(+), 29 deletions(-) diff --g