From 49b880d4ce5e1efad25edf60046faa5da3160bf2 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 9 Sep 2016 14:18:50 +0800 Subject: [PATCH] refine comments --- trunk/src/libs/srs_librtmp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/libs/srs_librtmp.cpp b/trunk/src/libs/srs_librtmp.cpp index 81a8377af..129f17db2 100644 --- a/trunk/src/libs/srs_librtmp.cpp +++ b/trunk/src/libs/srs_librtmp.cpp @@ -1301,6 +1301,7 @@ int srs_write_h264_ipb_frame(Context* context, // for I/P NALU, we send them in isolate frame, each NALU in a frame; // for other NALU, for example, AUD/SEI, we just ignore them, because // AUD used in annexb to split frame, while SEI generally we can ignore it. + // TODO: maybe we should group all NALUs split by AUD to a frame. SrsAvcNaluType nut = (SrsAvcNaluType)(frame[0] & 0x1f); if (nut != SrsAvcNaluTypeIDR && nut != SrsAvcNaluTypeNonIDR) { return ret;