[FFmpeg-cvslog] r23369 - trunk/libavcodec/h264.c
Carl Eugen Hoyos
cehoyos
Mon May 31 11:38:30 CEST 2010
bcoudurier <subversion <at> mplayerhq.hu> writes:
> Log:
> In h264 decoder, use jpeg yuv pixel format when full range is set in vui
> @@ -1842,7 +1849,10 @@ static int decode_slice_header(H264Conte
> -s->avctx->pix_fmt = s->avctx->get_format(s->avctx, s->avctx->codec->pix_fmts);
> +s->avctx->pix_fmt = s->avctx->get_format(s->avctx,
> + s->avctx->color_range == AVCOL_RANGE_JPEG ?
> + hwaccel_pixfmt_list_h264_jpeg_420 :
> + ff_hwaccel_pixfmt_list_420);
This broke VDPAU decoding.
Sorry for not realizing earlier, Carl Eugen
More information about the ffmpeg-cvslog
mailing list