Commit a44a27b5 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'eeaf4f3b'

* commit 'eeaf4f3b':
  av_vdpau_get_profile: mask out H.264 intra profile flag
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d08bb065 eeaf4f3b
......@@ -480,7 +480,7 @@ do { \
default: return AVERROR(EINVAL);
}
case AV_CODEC_ID_H264:
switch (avctx->profile) {
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_MAIN: PROFILE(VDP_DECODER_PROFILE_H264_MAIN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment