]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip server: move state to SETUP when session with TCP data closes the connection
authorJaroslav Kysela <perex@perex.cz>
Thu, 27 Jul 2017 09:47:17 +0000 (11:47 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 27 Jul 2017 09:47:17 +0000 (11:47 +0200)
src/satip/rtsp.c

index aa406685b153553e9e1af8e60774d86abc86d797..f4c8f20244cb3d4fe194d771dd00cd64acd2de4d 100644 (file)
@@ -1526,6 +1526,7 @@ rtsp_flush_requests(http_connection_t *hc)
     } else if (rs->tcp_data == hc) {
       satip_rtp_close((void *)(intptr_t)rs->stream);
       rs->tcp_data = NULL;
+      rs->state = STATE_SETUP;
     }
   }
   pthread_mutex_unlock(&rtsp_lock);