mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 03:11:20 +00:00
av_vdpau_get_profile: mask out H.264 intra profile flag
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
parent
3407172b36
commit
eeaf4f3b87
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user