diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2014-10-04 16:55:07 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-10-06 06:20:40 +0000 |
commit | e3e158e81f0666b8fe66be9ce1cad63a535920e0 (patch) | |
tree | 6fdef8ebf681dc7adb60ed733a48089c24569441 /libavcodec/vdpau_internal.h | |
parent | 502cde409ca5ee97ef70c2cdede88b9101746ff6 (diff) | |
download | ffmpeg-e3e158e81f0666b8fe66be9ce1cad63a535920e0.tar.gz |
vdpau: add av_vdpau_bind_context()
This function provides an explicit VDPAU device and VDPAU driver to
libavcodec, so that the application is relieved from codec specifics
and VdpDevice life cycle management.
A stub flags parameter is added for future extension. For instance, it
could be used to ignore codec level capabilities (if someone feels
dangerous).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r-- | libavcodec/vdpau_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 3e74d46963..69cd455160 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -52,6 +52,7 @@ typedef struct VDPAUHWContext { AVVDPAUContext context; VdpDevice device; VdpGetProcAddress *get_proc_address; + char reset; } VDPAUHWContext; typedef struct VDPAUContext { |