[vlc-commits] transcode/video: add more logs

Thomas Guillem git at videolan.org
Fri Jan 19 12:01:46 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 18 18:48:44 2018 +0100| [d02d11e649f694b9d513863008eb622bacfb24a8] | committer: Jean-Baptiste Kempf

transcode/video: add more logs

(cherry picked from commit c1ff19d76c6f9f7c880891d91cb3de90214d341e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d02d11e649f694b9d513863008eb622bacfb24a8
---

 modules/stream_out/transcode/video.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index ced0c2fe81..c9d3ed187e 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -608,6 +608,10 @@ static void transcode_video_encoder_init( sout_stream_t *p_stream,
 
     transcode_video_size_init( p_stream, id, p_vid_out );
     transcode_video_sar_init( p_stream, id, p_vid_out );
+
+    msg_Dbg( p_stream, "source chroma: %4.4s, destination %4.4s",
+             (const char *)&id->p_decoder->fmt_out.video.i_chroma,
+             (const char *)&id->p_encoder->fmt_in.video.i_chroma);
 }
 
 static int transcode_video_encoder_open( sout_stream_t *p_stream,



More information about the vlc-commits mailing list