[vlc-commits] transcode: add mention if it's audio or video that has too high drift

Ilkka Ollakka git at videolan.org
Sun Sep 29 13:30:31 CEST 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Sep 29 11:38:59 2013 +0300| [2b12cd63b33b4eb4f3a386a0e708cd96e1c6e8ad] | committer: Ilkka Ollakka

transcode: add mention if it's audio or video that has too high drift

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

 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 7a2b1e1..5ad2230 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 bbfe95d..c1f10c6 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;



More information about the vlc-commits mailing list