From: John Törnblom Date: Thu, 6 Jan 2011 15:43:24 +0000 (+0100) Subject: Check if the PAT is sent okey to the http-client. X-Git-Tag: 2.99~116^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b69376f4007acf85384b77e5c526f859823ebce;p=thirdparty%2Ftvheadend.git Check if the PAT is sent okey to the http-client. --- diff --git a/src/webui/webui.c b/src/webui/webui.c index 6316eaf19..f5f9ef560 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -219,6 +219,10 @@ http_stream_run(http_connection_t *hc, streaming_queue_t *sq) pat_ts[4] = 0x00; run = (write(hc->hc_fd, pat_ts, 188) == 188); + if(!run) { + break; + } + //Send PMT memset(pmt_ts, 0xff, 188); psi_build_pmt(ss, pmt_ts+5, 183, pcrpid);