vlc | branch: master | Steve Lhomme <[email protected]> | Mon Oct 28 11:16:54 
2019 +0100| [bd058fd75a885ed20cd77e0d08093864f4a06190] | committer: Steve Lhomme

sdi: 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=bd058fd75a885ed20cd77e0d08093864f4a06190
---

 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 ef8e983603..d27a0cd61f 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);
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to