Use 1 for successful return from CaptureAndRecord
This commit is contained in:
parent
df682fa94e
commit
a745790541
|
@ -533,7 +533,7 @@ int RemoteCameraRtsp::CaptureAndRecord(Image &image, timeval recording, char* ev
|
|||
zm_av_packet_unref( &packet );
|
||||
} // end while ! framecomplete and buffer.size()
|
||||
if(frameComplete)
|
||||
return (0);
|
||||
return (1);
|
||||
} /* getFrame() */
|
||||
|
||||
} // end while true
|
||||
|
|
Loading…
Reference in New Issue