]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix broken debug printout
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 24 Jun 2010 11:41:32 +0000 (11:41 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 24 Jun 2010 11:41:32 +0000 (11:41 +0000)
src/parsers.c

index 3e4bd082e1ebf694ad538a469988b9cf3944c8ef..50608684bb1cae29d4c6dc9f6f0773ded9ec5d36 100644 (file)
@@ -1162,7 +1162,7 @@ parser_deliver(th_transport_t *t, th_stream_t *st, th_pkt_t *pkt)
         pkt->pkt_dts,
         pkt->pkt_pts,
         pkt->pkt_duration,
-        pkt->pkt_payloadlen);
+        pktbuf_len(pkt->pkt_payload));
 #endif
 
   //  avgstat_add(&st->st_rate, pkt->pkt_payloadlen, dispatch_clock);