From 2b12cd63b33b4eb4f3a386a0e708cd96e1c6e8ad Mon Sep 17 00:00:00 2001
From: Ilkka Ollakka <ileoo@videolan.org>
Date: Sun, 29 Sep 2013 11:38:59 +0300
Subject: [PATCH] transcode: add mention if it's audio or video that has too
 high drift

---
 modules/stream_out/transcode/audio.c | 2 +-
 modules/stream_out/transcode/video.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 7a2b1e14b31a..5ad22303644f 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -208,7 +208,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
             if (i_drift > MASTER_SYNC_MAX_DRIFT || i_drift < -MASTER_SYNC_MAX_DRIFT)
             {
                 msg_Dbg( p_stream,
-                    "drift is too high (%"PRId64"), resetting master sync",
+                    "audio drift is too high (%"PRId64"), resetting master sync",
                     i_drift );
                 date_Set( &id->interpolated_pts, p_audio_buf->i_pts );
                 i_pts = p_audio_buf->i_pts + 1;
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index bbfe95d1a003..c1f10c631774 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -664,7 +664,7 @@ static void OutputFrame( sout_stream_sys_t *p_sys, picture_t *p_pic, bool b_need
               || i_video_drift < -MASTER_SYNC_MAX_DRIFT ) )
         {
             msg_Dbg( p_stream,
-                "drift is too high (%"PRId64"), resetting master sync",
+                "video drift is too high (%"PRId64"), resetting master sync",
                 i_video_drift );
             date_Set( &id->interpolated_pts, p_pic->date );
             i_pts = p_pic->date + 1;
@@ -765,7 +765,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
                   || i_video_drift < -MASTER_SYNC_MAX_DRIFT ) )
             {
                 msg_Dbg( p_stream,
-                    "drift is too high (%"PRId64", resetting master sync",
+                    "video drift is too high (%"PRId64", resetting master sync",
                     i_video_drift );
                 date_Set( &id->interpolated_pts, p_pic->date );
                 i_pts = p_pic->date + 1;
-- 
GitLab