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

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


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

image: 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=bf1322b69ceb44cf345212d0871142bd4baba41f
---

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

diff --git a/src/misc/image.c b/src/misc/image.c
index 60a4ca43c2..fe378177af 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -659,7 +659,7 @@ vlc_fourcc_t image_Mime2Fourcc( const char *psz_mime )
 static int video_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