From ef507a0e70cc40070e4b482d60f538b2ad32843d Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 28 Aug 2017 12:14:05 +0100 Subject: [PATCH] Improve debug messages --- player.c | 2 +- rtsp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/player.c b/player.c index e4b31333..4a563834 100644 --- 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 12e9d8d1..c0e34811 100644 --- 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;