]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Improve debug messages
authorMike Brady <mikebrady@eircom.net>
Mon, 28 Aug 2017 11:14:05 +0000 (12:14 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 28 Aug 2017 11:14:05 +0000 (12:14 +0100)
player.c
rtsp.c

index e4b313333d3d8cc7083987769dccc766a54a9f03..4a563834d7b05aef2782dc96f977a12179cf745e 100644 (file)
--- a/player.c
+++ b/player.c
@@ -2184,7 +2184,7 @@ static void *player_thread_func(void *arg) {
   if (rc)
     debug(1, "Error destroying vol_mutex variable.");
   
-  debug(1, "Player thread exit");
+  debug(1, "Player thread exit on RTSP conversation thread %d.",conn->connection_number);
   if (outbuf)
     free(outbuf);
   if (silence)
diff --git a/rtsp.c b/rtsp.c
index 12e9d8d1130b2b3a9c004f70c9af365c26a6c6e3..c0e348117c55667ed04a0e6756e97687335e07eb 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1821,7 +1821,7 @@ static void *rtsp_conversation_thread_func(void *pconn) {
     playing_conn = NULL;
     pthread_mutex_unlock(&play_lock);
        }
-  debug(3, "RTSP conversation thread %d terminated.",conn->connection_number);
+  debug(1, "RTSP conversation thread %d terminated.",conn->connection_number);
   //  please_shutdown = 0;
   conn->running = 0;
   return NULL;