[vlc-commits] transcode: video: patch missing chroma in decoder format ouput
Francois Cartegnie
git at videolan.org
Tue Aug 13 11:30:34 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Aug 13 11:27:14 2019 +0200| [ef647f9a101cf281b59544555bba3a2d7d43d58c] | committer: Francois Cartegnie
transcode: video: patch missing chroma in decoder format ouput
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef647f9a101cf281b59544555bba3a2d7d43d58c
---
modules/stream_out/transcode/video.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 4cb139c9b5..2efb09b56b 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -58,6 +58,9 @@ static int video_update_format_decoder( decoder_t *p_dec )
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