Added TODO on avconv's deprecated max_analyze_duration
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user