Commit ab9ba888 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '26ab504a'

* commit '26ab504a':
  vdpau/h264: request MAIN rather than BASELINE VDPAU profile for CBP
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 39680cac 26ab504a
...@@ -209,10 +209,10 @@ static int vdpau_h264_init(AVCodecContext *avctx) ...@@ -209,10 +209,10 @@ static int vdpau_h264_init(AVCodecContext *avctx)
uint32_t level = avctx->level; uint32_t level = avctx->level;
switch (avctx->profile & ~FF_PROFILE_H264_INTRA) { switch (avctx->profile & ~FF_PROFILE_H264_INTRA) {
case FF_PROFILE_H264_CONSTRAINED_BASELINE:
case FF_PROFILE_H264_BASELINE: case FF_PROFILE_H264_BASELINE:
profile = VDP_DECODER_PROFILE_H264_BASELINE; profile = VDP_DECODER_PROFILE_H264_BASELINE;
break; break;
case FF_PROFILE_H264_CONSTRAINED_BASELINE:
case FF_PROFILE_H264_MAIN: case FF_PROFILE_H264_MAIN:
profile = VDP_DECODER_PROFILE_H264_MAIN; profile = VDP_DECODER_PROFILE_H264_MAIN;
break; break;
......
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