[FFmpeg-cvslog] r23369 - trunk/libavcodec/h264.c

Carl Eugen Hoyos cehoyos
Mon May 31 23:27:35 CEST 2010


Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:

> On 5/31/10 2:38 AM, Carl Eugen Hoyos wrote:
> > 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
> 
> How ?

I am sorry, but I am not sure I understand your question.
Did you write the original patch?

It disables VDPAU for color_range == AVCOL_RANGE_JPEG (which is true for example
on my DVB-S recordings).

Carl Eugen




More information about the ffmpeg-cvslog mailing list