put startTime init back where it belongs
parent
d63c1810be
commit
ae80fd4d2d
|
@ -290,6 +290,7 @@ int FfmpegCamera::OpenFfmpeg() {
|
||||||
Debug ( 1, "Opened input" );
|
Debug ( 1, "Opened input" );
|
||||||
|
|
||||||
Info( "Stream open %s", mPath.c_str() );
|
Info( "Stream open %s", mPath.c_str() );
|
||||||
|
startTime=av_gettime();//FIXME here or after find_Stream_info
|
||||||
|
|
||||||
//FIXME can speed up initial analysis but need sensible parameters...
|
//FIXME can speed up initial analysis but need sensible parameters...
|
||||||
//mFormatContext->probesize = 32;
|
//mFormatContext->probesize = 32;
|
||||||
|
@ -601,7 +602,6 @@ Debug(5, "After av_read_frame (%d)", ret );
|
||||||
|
|
||||||
if ( ! videoStore ) {
|
if ( ! videoStore ) {
|
||||||
//Instantiate the video storage module
|
//Instantiate the video storage module
|
||||||
startTime=av_gettime();//FIXME here or after find_Stream_info
|
|
||||||
|
|
||||||
if (record_audio) {
|
if (record_audio) {
|
||||||
if (mAudioStreamId == -1) {
|
if (mAudioStreamId == -1) {
|
||||||
|
|
Loading…
Reference in New Issue