Merge pull request #10262 from Riyuzakii:10209
This commit is contained in:
commit
f8b14a1612
@ -1113,11 +1113,6 @@ double CvCapture_FFMPEG::get_duration_sec() const
|
||||
sec = (double)ic->streams[video_stream]->duration * r2d(ic->streams[video_stream]->time_base);
|
||||
}
|
||||
|
||||
if (sec < eps_zero)
|
||||
{
|
||||
sec = (double)ic->streams[video_stream]->duration * r2d(ic->streams[video_stream]->time_base);
|
||||
}
|
||||
|
||||
return sec;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user