[vlc-devel] [PATCH 04/18] transcode: don't do the chroma fixup in update_format callback
Steve Lhomme
robux4 at ycbcr.xyz
Mon Oct 28 13:41:21 CET 2019
It's already done in the decoder helper.
---
modules/stream_out/transcode/video.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 04f749a9906..2153d5b4802 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -77,9 +77,6 @@ static int video_update_format_decoder( decoder_t *p_dec, vlc_video_context *vct
vlc_object_t *p_obj = p_owner->p_obj;
filter_chain_t *test_chain;
- /* will need proper chroma for get_buffer */
- p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
-
vlc_mutex_lock( &id->fifo.lock );
const es_format_t *p_enc_in = transcode_encoder_format_in( id->encoder );
--
2.17.1
More information about the vlc-devel
mailing list