From f2b11d071c55a4f1e25324d4c4010f915deffe13 Mon Sep 17 00:00:00 2001 From: Frederik Slos Date: Tue, 3 Jun 2014 19:31:14 +0200 Subject: [PATCH] fix: first shutdown player, otherwise this hangs shairport on OpenBSD --- rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtsp.c b/rtsp.c index 8db9f3f24..315c70a2b 100644 --- a/rtsp.c +++ b/rtsp.c @@ -820,8 +820,8 @@ static void *rtsp_conversation_thread_func(void *pconn) { if (conn->fd > 0) close(conn->fd); if (rtsp_playing()) { - rtp_shutdown(); player_stop(); + rtp_shutdown(); please_shutdown = 0; pthread_mutex_unlock(&playing_mutex); }