[vlc-commits] video_output: "reset" the the blender converter before adding a filter

Steve Lhomme git at videolan.org
Thu Nov 14 08:29:36 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Nov  7 12:20:08 2019 +0100| [6bf352ea172db97e56b091aaba81775bcd8e172c] | committer: Steve Lhomme

video_output: "reset" the the blender converter before adding a filter

Needed for the code cleaning in the next patches.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6bf352ea172db97e56b091aaba81775bcd8e172c
---

 src/video_output/video_output.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index cdc20fbfea..a85f6df4b6 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -977,6 +977,8 @@ static picture_t *ConvertRGB32AndBlend(vout_thread_t *vout, picture_t *pic,
     dst.video.i_chroma = VLC_CODEC_RGB32;
     video_format_FixRgb(&dst.video);
 
+    filter_chain_Reset(filterc, &src, &dst);
+
     if (filter_chain_AppendConverter(filterc, &src, &dst) != 0)
     {
         filter_chain_Delete(filterc);



More information about the vlc-commits mailing list