[FFmpeg-devel] [PATCH 4/6] hwcontext_vaapi: Set message callbacks on internally-created devices
derek.buitenhuis at gmail.com
Sun Oct 8 18:51:13 EEST 2017
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 file changed, 45 insertions(+), 29 deletions(-)
Would have preferred these be two separate patches, but I also don't
have strong feelings about it.
Looks OK, assuming libva2 guarantees NULL-termination of the message.
More information about the ffmpeg-devel