Make avconv guess how long to analyse each file

This commit is contained in:
emeric
2014-10-11 17:28:27 +02:00
parent a8c95bde54
commit 5f34ac3340
-1
View File
@@ -90,7 +90,6 @@ InputFormatContext::getBestStreamIdx(AVMediaType type, Stream::Idx& index)
void
InputFormatContext::findStreamInfo(void)
{
native()->max_analyze_duration = 10 * AV_TIME_BASE; // 10 secs. TODO deprecated
AvError err = avformat_find_stream_info(native(), NULL);
if (err) {
LMS_LOG(MOD_AV, SEV_ERROR) << "Couldn't find stream information: " << err;