[vlc-commits] Improved debug messages

Jean-Baptiste Kempf git at videolan.org
Thu Mar 17 11:23:44 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 17 11:22:17 2011 +0100| [913ab9c0783878f05635ae36b52a584f807e8fc2] | committer: Jean-Baptiste Kempf

Improved debug messages

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

 src/input/stream.c    |    4 ++--
 src/playlist/thread.c |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/input/stream.c b/src/input/stream.c
index ebbdac3..8f43b60 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -667,7 +667,7 @@ static void AStreamPrebufferBlock( stream_t *s )
     int64_t i_first = 0;
     int64_t i_start;
 
-    msg_Dbg( s, "pre buffering" );
+    msg_Dbg( s, "starting pre-buffering" );
     i_start = mdate();
     for( ;; )
     {
@@ -1420,7 +1420,7 @@ static void AStreamPrebufferStream( stream_t *s )
     int64_t i_first = 0;
     int64_t i_start;
 
-    msg_Dbg( s, "pre buffering" );
+    msg_Dbg( s, "starting pre-buffering" );
     i_start = mdate();
     for( ;; )
     {
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index a87881c..4bce33e 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -64,7 +64,7 @@ void playlist_Activate( playlist_t *p_playlist )
     {
         msg_Err( p_playlist, "cannot spawn playlist thread" );
     }
-    msg_Dbg( p_playlist, "Activated" );
+    msg_Dbg( p_playlist, "playlist threads correctly activated" );
 }
 
 void playlist_Deactivate( playlist_t *p_playlist )
@@ -312,7 +312,7 @@ static playlist_item_t *NextItem( playlist_t *p_playlist )
     {
         p_new = p_sys->request.p_item;
         int i_skip = p_sys->request.i_skip;
-        PL_DEBUG( "processing request item %s node %s skip %i",
+        PL_DEBUG( "processing request item: %s, node: %s, skip: %i",
                         PLI_NAME( p_sys->request.p_item ),
                         PLI_NAME( p_sys->request.p_node ), i_skip );
 
@@ -543,7 +543,7 @@ static void LoopRequest( playlist_t *p_playlist )
     playlist_item_t *p_item = NextItem( p_playlist );
     if( p_item )
     {
-        msg_Dbg( p_playlist, "starting new item" );
+        msg_Dbg( p_playlist, "starting playback of the new playlist item" );
         PlayItem( p_playlist, p_item );
         return;
     }



More information about the vlc-commits mailing list