[vlc-devel] [PATCH 05/18] sdi: don't do the chroma fixup in update_format callback

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 28 13:41:22 CET 2019


It's already done in the decoder helper.
---
 modules/stream_out/sdi/SDIStream.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/stream_out/sdi/SDIStream.cpp b/modules/stream_out/sdi/SDIStream.cpp
index ef8e983603e..d27a0cd61f0 100644
--- a/modules/stream_out/sdi/SDIStream.cpp
+++ b/modules/stream_out/sdi/SDIStream.cpp
@@ -486,9 +486,6 @@ int VideoDecodedStream::VideoDecCallback_update_format(decoder_t *p_dec,
     struct decoder_owner *p_owner;
     p_owner = container_of(p_dec, struct decoder_owner, dec);
 
-    /* fixup */
-    p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
-
     es_format_Clean(&p_owner->last_fmt_update);
     es_format_Copy(&p_owner->last_fmt_update, &p_dec->fmt_out);
 
-- 
2.17.1



More information about the vlc-devel mailing list