set hType

This commit is contained in:
Isaac Connor 2021-03-25 13:12:21 -04:00
parent 292bad8718
commit 0c7542d20d
1 changed files with 2 additions and 0 deletions

View File

@ -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