diff --git a/trunk/src/app/srs_app_hls.cpp b/trunk/src/app/srs_app_hls.cpp index 3dccf5a03f..9290d1f37f 100644 --- a/trunk/src/app/srs_app_hls.cpp +++ b/trunk/src/app/srs_app_hls.cpp @@ -966,6 +966,8 @@ int SrsHls::on_video(SrsSharedPtrMessage* __video) srs_error("hls codec demux video failed. ret=%d", ret); return ret; } + srs_info("video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d, time=%"PRId64, + sample->frame_type, codec->video_codec_id, sample->avc_packet_type, sample->cts, video->size, video->timestamp); // ignore info frame, // @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909 diff --git a/trunk/src/kernel/srs_kernel_codec.cpp b/trunk/src/kernel/srs_kernel_codec.cpp index 5d1cc519ec..d347e7b916 100644 --- a/trunk/src/kernel/srs_kernel_codec.cpp +++ b/trunk/src/kernel/srs_kernel_codec.cpp @@ -488,7 +488,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample // ignored. } - srs_info("video decoded, type=%d, codec=%d, avc=%d, time=%d, size=%d", + srs_info("video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d", frame_type, video_codec_id, avc_packet_type, composition_time, size); return ret;