Re: [FFmpeg-devel] [PATCH]Force colour range for vc1 gray output

2015-05-17 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > +else { > > avctx->pix_fmt = AV_PIX_FMT_GRAY8; > > +if (avctx->color_range == AVCOL_RANGE_UNSPECIFIED) > > +avctx->color_range = AVCOL_RANGE_MPEG; > > this variant LGTM as well This variant was merged. Carl Eugen ___

Re: [FFmpeg-devel] [PATCH]Force colour range for vc1 gray output

2015-05-09 Thread Michael Niedermayer
On Sat, May 09, 2015 at 12:32:03PM +0200, Carl Eugen Hoyos wrote: > On Saturday 09 May 2015 11:00:02 am Carl Eugen Hoyos wrote: > > Hi! > > > > I believe attached patch makes vc1 gray output more correct. > > New patch attached that allows users to set the range. > > Carl Eugen > vc1dec.c |

Re: [FFmpeg-devel] [PATCH]Force colour range for vc1 gray output

2015-05-09 Thread Carl Eugen Hoyos
On Saturday 09 May 2015 11:00:02 am Carl Eugen Hoyos wrote: > Hi! > > I believe attached patch makes vc1 gray output more correct. New patch attached that allows users to set the range. Carl Eugen diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 86e214a..ad1d4d9 100644 --- a/libavcode

Re: [FFmpeg-devel] [PATCH]Force colour range for vc1 gray output

2015-05-09 Thread Michael Niedermayer
On Sat, May 09, 2015 at 11:00:02AM +0200, Carl Eugen Hoyos wrote: > Hi! > > I believe attached patch makes vc1 gray output more correct. > > Or should this be set unconditionally for all output pix_fmts? > > Please comment, Carl Eugen > vc1dec.c |4 +++- > 1 file changed, 3 insertions(+),

[FFmpeg-devel] [PATCH]Force colour range for vc1 gray output

2015-05-09 Thread Carl Eugen Hoyos
Hi! I believe attached patch makes vc1 gray output more correct. Or should this be set unconditionally for all output pix_fmts? Please comment, Carl Eugen diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 86e214a..1a9e596 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -