fixed bug where non-video/audio types would show a "duration" as their "rate"

This commit is contained in:
itsmattkc
2019-11-24 02:03:55 +09:00
parent 43d6ac75e2
commit 9a05e2e848
+1 -1
View File
@@ -198,7 +198,7 @@ QString Footage::rate()
return QCoreApplication::translate("Footage", "%1 Hz").arg(audio_stream->sample_rate());
}
return olive::timestamp_to_timecode(streams_.first()->duration(), streams_.first()->timebase(), olive::CurrentTimecodeDisplay());
return QString();
}
void Footage::ClearStreams()