[FFmpeg-cvslog] vf_lut: set minimum and maximum alpha value for yuva420p

Stefano Sabatini git at videolan.org
Sat Jul 2 15:30:36 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Jul  2 15:23:56 2011 +0200| [59bd0fef6691f5b23eebbd7dd2f3e74c8d60c6a7] | committer: Stefano Sabatini

vf_lut: set minimum and maximum alpha value for yuva420p

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59bd0fef6691f5b23eebbd7dd2f3e74c8d60c6a7
---

 libavfilter/vf_lut.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index b74aa23..a1f93ff 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -229,6 +229,7 @@ static int config_props(AVFilterLink *inlink)
         min[Y] = min[U] = min[V] = 16;
         max[Y] = 235;
         max[U] = max[V] = 240;
+        min[A] = 0; max[A] = 255;
         break;
     default:
         min[0] = min[1] = min[2] = min[3] = 0;



More information about the ffmpeg-cvslog mailing list