Advertisement
Guest User

Untitled

a guest
Oct 17th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. diff --git a/src/htsp_server.c b/src/htsp_server.c
  2. index 36a586b..f5f9dac 100644
  3. --- a/src/htsp_server.c
  4. +++ b/src/htsp_server.c
  5. @@ -2962,6 +2962,8 @@ htsp_stream_deliver(htsp_subscription_t *hs, th_pkt_t *pkt)
  6. uint32_t dur = hs->hs_90khz ? pkt->pkt_duration : ts_rescale(pkt->pkt_duration, 1000000);
  7. htsmsg_add_u32(m, "duration", dur);
  8.  
  9. + if (pkt->pkt_header && pktbuf_len(pkt->pkt_header) == 5) pkt->pkt_header->pb_size = 2;
  10. +
  11. pkt = pkt_merge_header(pkt);
  12.  
  13. /**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement