diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2014-03-04 19:13:09 +0000 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-03-04 22:48:55 +0100 |
commit | eeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c (patch) | |
tree | f0330007ba7772ba7064d52c0068e71fa2028331 /libavcodec | |
parent | 3407172b36a93cec410c6a287dbeec0f41257512 (diff) | |
download | ffmpeg-eeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c.tar.gz |
av_vdpau_get_profile: mask out H.264 intra profile flag
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index d8a35eeb3b..50a57d0970 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -114,7 +114,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); |