aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-28 11:04:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-10-28 11:05:12 +0100
commitdd5123a04c67f74024128447e8ca9642241d6d45 (patch)
treeb826779137aa92bc258fed7fa318c8aa0b1e799f
parentab9ba8887705e3a1db946e7f992bd5cf411f1f04 (diff)
parentce91b2eae6ea52fc1a7003566d26db20ca62d745 (diff)
downloadffmpeg-dd5123a04c67f74024128447e8ca9642241d6d45.tar.gz
Merge commit 'ce91b2eae6ea52fc1a7003566d26db20ca62d745'
* commit 'ce91b2eae6ea52fc1a7003566d26db20ca62d745': vdpau: return MAIN instead of BASELINE for H.264 CBP Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index 41aea1c215..f7116f4036 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -660,8 +660,8 @@ do { \
}
case AV_CODEC_ID_H264:
switch (avctx->profile & ~FF_PROFILE_H264_INTRA) {
- case FF_PROFILE_H264_CONSTRAINED_BASELINE:
case FF_PROFILE_H264_BASELINE: PROFILE(VDP_DECODER_PROFILE_H264_BASELINE);
+ case FF_PROFILE_H264_CONSTRAINED_BASELINE:
case FF_PROFILE_H264_MAIN: PROFILE(VDP_DECODER_PROFILE_H264_MAIN);
case FF_PROFILE_H264_HIGH: PROFILE(VDP_DECODER_PROFILE_H264_HIGH);
default: return AVERROR(EINVAL);