Michael Niedermayer gmx.at> writes:
> > +if (scale->in_range)
>
> != AVCOL_RANGE_UNSPECIFIED
>
> > +av_opt_set_int(*s, "src_range", scale->in_range > 1, 0);
>
> AVCOL_RANGE_JPEG
>
> otherwise LGTM
Pushed with these changes.
Thank you, Carl Eugen
On Mon, Aug 31, 2015 at 05:28:12PM +0200, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch fixes ticket #4812 for Robert, I suspect it
> will not fix all use-cases but maybe it is a good start?
>
> Carl Eugen
> vf_scale.c |4
> 1 file changed, 4 insertions(+)
> 7a4374034719c004e2e0616
Hi!
Attached patch fixes ticket #4812 for Robert, I suspect it
will not fix all use-cases but maybe it is a good start?
Carl Eugen
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index a1a19bb..545e2b7 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -374,6 +374,1