winlin

fix the warning of ts_info

@@ -2255,9 +2255,9 @@ int main(int argc, char** argv) @@ -2255,9 +2255,9 @@ int main(int argc, char** argv)
2255 int64_t pcr = msg->pcr; 2255 int64_t pcr = msg->pcr;
2256 static int64_t last_pcr_dts = 0; 2256 static int64_t last_pcr_dts = 0;
2257 trace("demuxer+report id=%d, type=%s, size=%d, dts=%d, pts=%d, cts=%d, pcr=%d, dts-pcr=%d, ref=%d, unit=%d, dts(diff-pcr)=%d", 2257 trace("demuxer+report id=%d, type=%s, size=%d, dts=%d, pts=%d, cts=%d, pcr=%d, dts-pcr=%d, ref=%d, unit=%d, dts(diff-pcr)=%d",
2258 - ctx.ts_packet_count, (msg->type == TSPidTypeVideo)? "video":"audio",  
2259 - msg->parsed_packet_size, dts, pts, pts - dts, pcr, pcr? dts - pcr : 0,  
2260 - msg->nal_ref_idc, msg->nal_unit_type, pcr? dts - last_pcr_dts: 0); 2258 + (int)ctx.ts_packet_count, (msg->type == TSPidTypeVideo)? "video":"audio",
  2259 + (int)msg->parsed_packet_size, (int)dts, (int)pts, (int)(pts - dts), (int)pcr, (int)(pcr? dts - pcr : 0),
  2260 + (int)msg->nal_ref_idc, (int)msg->nal_unit_type, (int)(pcr? dts - last_pcr_dts: 0));
2261 if (pcr > 0) { 2261 if (pcr > 0) {
2262 last_pcr_dts = dts; 2262 last_pcr_dts = dts;
2263 } 2263 }
@@ -32,3 +32,4 @@ LIBS += \ @@ -32,3 +32,4 @@ LIBS += \
32 ../../../objs/openssl/lib/libssl.a \ 32 ../../../objs/openssl/lib/libssl.a \
33 ../../../objs/openssl/lib/libcrypto.a \ 33 ../../../objs/openssl/lib/libcrypto.a \
34 -ldl 34 -ldl
  35 +