Check if the PAT is sent okey to the http-client.

This commit is contained in:
John Törnblom 2011-01-06 16:43:24 +01:00
parent 8850be81c1
commit 3b69376f40

View file

@ -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);