remove debug lines about nalType=1

pull/3122/head
Isaac Connor 2020-12-27 12:25:23 -05:00
parent 085d83b250
commit af94473eb1
1 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,8 @@ int RemoteCameraRtsp::Capture(ZMPacket &zm_packet) {
int nalType = (buffer.head()[3] & 0x1f);
// SPS The SPS NAL unit contains parameters that apply to a series of consecutive coded video pictures
if ( nalType == 7 ) {
if ( nalType == 1 ) {
} else if ( nalType == 7 ) {
lastSps = buffer;
continue;
} else if ( nalType == 8 ) {