Check if the PAT is sent okey to the http-client.
This commit is contained in:
parent
8850be81c1
commit
3b69376f40
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue