Option handled added in master, removing duplicate declaration
This commit is contained in:
parent
17d7404c93
commit
8c81c8df9c
|
@ -127,9 +127,6 @@ int FfmpegCamera::PrimeCapture()
|
||||||
mAudioStreamId = -1;
|
mAudioStreamId = -1;
|
||||||
Info( "Priming capture from %s", mPath.c_str() );
|
Info( "Priming capture from %s", mPath.c_str() );
|
||||||
|
|
||||||
AVDictionary *opts = 0;
|
|
||||||
av_dict_set(&opts, "rtsp_transport", "tcp", 0);//FIXME do i need to free this
|
|
||||||
|
|
||||||
// Open the input, not necessarily a file
|
// Open the input, not necessarily a file
|
||||||
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53, 4, 0)
|
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53, 4, 0)
|
||||||
if ( av_open_input_file( &mFormatContext, mPath.c_str(), NULL, 0, NULL ) !=0 )
|
if ( av_open_input_file( &mFormatContext, mPath.c_str(), NULL, 0, NULL ) !=0 )
|
||||||
|
|
Loading…
Reference in New Issue