From 0c7542d20dbf19504afe569ec61b08cf436499fd Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 25 Mar 2021 13:12:21 -0400 Subject: [PATCH] set hType --- src/zm_rtsp_server_fifo_h264_source.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_rtsp_server_fifo_h264_source.cpp b/src/zm_rtsp_server_fifo_h264_source.cpp index 3d32f1809..39bf22cf7 100644 --- a/src/zm_rtsp_server_fifo_h264_source.cpp +++ b/src/zm_rtsp_server_fifo_h264_source.cpp @@ -29,6 +29,7 @@ H264_ZoneMinderFifoSource::H264_ZoneMinderFifoSource( { // extradata appears to simply be the SPS and PPS NAL's //this->splitFrames(m_stream->codecpar->extradata, m_stream->codecpar->extradata_size); + m_hType = 264; } // split packet into frames @@ -101,6 +102,7 @@ H265_ZoneMinderFifoSource::H265_ZoneMinderFifoSource( { // extradata appears to simply be the SPS and PPS NAL's // this->splitFrames(m_stream->codecpar->extradata, m_stream->codecpar->extradata_size); + m_hType = 265; } // split packet in frames