lavc: Add hwaccel_flags field to AVCodecContext
authorwm4 <nfxjfg@googlemail.com>
Sat, 4 Mar 2017 23:57:32 +0000 (23:57 +0000)
committerwm4 <nfxjfg@googlemail.com>
Thu, 23 Mar 2017 08:34:21 +0000 (09:34 +0100)
commit156bd8278f4098426cffaa68efb161907e5c1869
tree5de1856a82ef4b69126dcc04c49e093078cdb2d9
parent30cadfe071ad353b60144d235a347a57ada7998c
lavc: Add hwaccel_flags field to AVCodecContext

This "reuses" the flags introduced for the av_vdpau_bind_context() API
function, and makes them available to all hwaccels. This does not affect
the current vdpau API, as av_vdpau_bind_context() should obviously
override the AVCodecContext.hwaccel_flags flags for the sake of
compatibility.

Cherry-picked from Libav commit 16a163b5.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
doc/APIchanges
libavcodec/avcodec.h
libavcodec/pthread_frame.c
libavcodec/version.h