[vlc-commits] transcode: don't do the chroma fixup in update_format callback
Steve Lhomme
git at videolan.org
Mon Nov 4 10:41:51 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Oct 28 13:34:47 2019 +0100| [52709d3fe1dc4f9ab599d7591d7dfcdc1f63b1a2] | committer: Steve Lhomme
transcode: 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=52709d3fe1dc4f9ab599d7591d7dfcdc1f63b1a2
---
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 ae615351d5..affd8414e4 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 );
More information about the vlc-commits
mailing list