Skip to content

Commit b67ef7a

Browse files
committed
Fix #4603: DVR hevc to mp4 error.
1 parent a83c902 commit b67ef7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trunk/src/kernel/srs_kernel_packet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ srs_error_t SrsFormat::video_avc_demux(SrsBuffer *stream, int64_t timestamp)
643643
// ignore info frame without error,
644644
// @see https://github.com/ossrs/srs/issues/288#issuecomment-69863909
645645
if (video_->frame_type_ == SrsVideoAvcFrameTypeVideoInfoFrame) {
646+
video_->avc_packet_type_ = packet_type;
646647
srs_warn("avc ignore the info frame");
647648
return err;
648649
}

0 commit comments

Comments
 (0)