diff options
author | Philip Langdale <philipl@overt.org> | 2015-06-26 18:43:41 +0300 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2015-06-27 05:07:51 +0300 |
commit | b69bea3ab8f83b4cac7091d648d27c3be3efbc28 (patch) | |
tree | 6a78d8af64aaaaa5ce793944e20efe91a36faad8 /libavcodec/vdpau_hevc.c | |
parent | 7728d231a6cb5c31bf59a29ccc89193c82389e01 (diff) |
avcodec: Add flag for experimental HWAccels and use it for VDPAU/HEVC
This HWAccel isn't really usable right now due to an nvidia driver bug,
so we don't want it selected by default.
HWAccels have a capabilities field and there's a comment about flags,
but no flags exist today, so let's add one for experimental hwaccels.
Diffstat (limited to 'libavcodec/vdpau_hevc.c')
-rw-r--r-- | libavcodec/vdpau_hevc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vdpau_hevc.c b/libavcodec/vdpau_hevc.c index ccf67648d3..0987b63e2d 100644 --- a/libavcodec/vdpau_hevc.c +++ b/libavcodec/vdpau_hevc.c @@ -427,6 +427,7 @@ AVHWAccel ff_hevc_vdpau_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_HEVC, .pix_fmt = AV_PIX_FMT_VDPAU, + .capabilities = HWACCEL_CODEC_CAP_EXPERIMENTAL, .start_frame = vdpau_hevc_start_frame, .end_frame = vdpau_hevc_end_frame, .decode_slice = vdpau_hevc_decode_slice, |