[vlc-commits] thumbnailer: don't do the chroma fixup in update_format callback

Steve Lhomme git at videolan.org
Mon Nov 4 10:41:50 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Oct 28 11:17:38 2019 +0100| [b7f2c0d4293c6a8831713a8e8937b21283e236e3] | committer: Steve Lhomme

thumbnailer: don't do the chroma fixup in update_format callback

It's already done in the decoder helper.

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

 src/input/decoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index f4f0f65408..c9802b9a00 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1214,7 +1214,7 @@ static void ModuleThread_QueueVideo( decoder_t *p_dec, picture_t *p_pic )
 static int thumbnailer_update_format( decoder_t *p_dec, vlc_video_context *vctx_out )
 {
     VLC_UNUSED(vctx_out);
-    p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
+    VLC_UNUSED(p_dec);
     return 0;
 }
 



More information about the vlc-commits mailing list