Added TODO on avconv's deprecated max_analyze_duration

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