From a4216cc5828a84bc37d8f076c2f7e17767f9e57a Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 13 Apr 2015 16:40:31 +0800 Subject: [PATCH] add todo for ts parse. --- trunk/src/app/srs_app_mpegts_udp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_mpegts_udp.cpp b/trunk/src/app/srs_app_mpegts_udp.cpp index 94e2488b0..9691a74f5 100644 --- a/trunk/src/app/srs_app_mpegts_udp.cpp +++ b/trunk/src/app/srs_app_mpegts_udp.cpp @@ -419,7 +419,10 @@ int SrsMpegtsOverUdp::write_h264_sps_pps(u_int32_t dts, u_int32_t pts) { int ret = ERROR_SUCCESS; - // only send when both sps and pps changed. + // TODO: FIMXE: there exists bug, see following comments. + // when sps or pps changed, update the sequence header, + // for the pps maybe not changed while sps changed. + // so, we must check when each video ts message frame parsed. if (!h264_sps_changed || !h264_pps_changed) { return ret; }