summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-14 22:14:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-14 22:14:58 +0100
commit3f679f73a2eee1937bd58e6ec5739d29b1a05e7f (patch)
treeebf7db98d22e08a817094f58186c7b98fd38d07c /libavcodec/vdpau_h264.c
parent0b30d186f1a2ddee583e7917cd0a48ca113849ab (diff)
parent8502c1e9ff9c1dbb6e467630c048d098f4064021 (diff)
Merge commit '8502c1e9ff9c1dbb6e467630c048d098f4064021'
* commit '8502c1e9ff9c1dbb6e467630c048d098f4064021': vdpau: add mapping for H.264 Extended profile Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 c8307bcc47..d9a3a52df0 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);
}