From: Mike Brady Date: Tue, 29 May 2018 20:53:38 +0000 (+0100) Subject: Increase debugging temporarily for a TEARDOWN. X-Git-Tag: 3.2RC11~3^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0dda0b095e9b4b8ef7bb67ff81e4292f33e184a;p=thirdparty%2Fshairport-sync.git Increase debugging temporarily for a TEARDOWN. --- diff --git a/rtsp.c b/rtsp.c index 4299167a..b0b4a0f3 100644 --- a/rtsp.c +++ b/rtsp.c @@ -717,6 +717,8 @@ static void handle_options(rtsp_conn_info *conn, __attribute__((unused)) rtsp_me static void handle_teardown(rtsp_conn_info *conn, __attribute__((unused)) rtsp_message *req, rtsp_message *resp) { debug(2, "Connection %d: TEARDOWN", conn->connection_number); + int tdl = debuglev; + debuglev = 3; // if (!rtsp_playing()) // debug(1, "This RTSP connection thread (%d) doesn't think it's playing, but " // "it's sending a response to teardown anyway",conn->connection_number); @@ -729,6 +731,7 @@ static void handle_teardown(rtsp_conn_info *conn, __attribute__((unused)) rtsp_m player_stop(conn); debug(3, "TEARDOWN: successful termination of playing thread of RTSP conversation thread %d.", conn->connection_number); + debuglev = tdl; } static void handle_flush(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp) {