fix timeline types for ffmpegsource

This commit is contained in:
Paul Davis 2021-07-03 19:03:06 -06:00
parent 4f18d7f220
commit 3def228560

View File

@ -33,7 +33,7 @@ FFMPEGFileSource::FFMPEGFileSource (Session& s, const std::string& path, int chn
Source::Flag (flags & ~(Writable|Removable|RemovableIfEmpty|RemoveAtDestroy)))
, _ffmpeg (path, chn)
{
_length = _ffmpeg.length ();
_length = timecnt_t (_ffmpeg.length ());
}
FFMPEGFileSource::~FFMPEGFileSource ()