summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_h264.c
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2014-12-13 18:42:20 +0200
committerAnton Khirnov <anton@khirnov.net>2014-12-14 18:29:27 +0100
commit8502c1e9ff9c1dbb6e467630c048d098f4064021 (patch)
tree2f41110ccaf7e3a7cb1839ce28be4824675e51e8 /libavcodec/vdpau_h264.c
parent8b51bcfed75721e0d20832e5a90e1d585318c9d9 (diff)
vdpau: add mapping for H.264 Extended profile
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vdpau_h264.c')
-rw-r--r--libavcodec/vdpau_h264.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/vdpau_h264.c b/libavcodec/vdpau_h264.c
index 41033284be..d18a970fc1 100644
--- a/libavcodec/vdpau_h264.c
+++ b/libavcodec/vdpau_h264.c
@@ -219,6 +219,11 @@ static int vdpau_h264_init(AVCodecContext *avctx)
case FF_PROFILE_H264_HIGH:
profile = VDP_DECODER_PROFILE_H264_HIGH;
break;
+#ifdef VDP_DECODER_PROFILE_H264_EXTENDED
+ case FF_PROFILE_H264_EXTENDED:
+ profile = VDP_DECODER_PROFILE_H264_EXTENDED;
+ break;
+#endif
default:
return AVERROR(ENOTSUP);
}