mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
vdpau: return MAIN instead of BASELINE for H.264 CBP
This is the same as the previous change, but for applications using the old API (such as VLC 2.2). Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
26ab504ad8
commit
ce91b2eae6
@ -287,8 +287,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);
|
||||
|
Loading…
Reference in New Issue
Block a user