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

Thomas Guillem git at videolan.org
Fri Jan 19 08:37:15 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 18 18:48:44 2018 +0100| [c1ff19d76c6f9f7c880891d91cb3de90214d341e] | committer: Thomas Guillem

transcode/video: add more logs

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

 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 26cf38796a..ac09248308 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -614,6 +614,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