From 9a05e2e8482f6c916ca4128ee06bcf13f3b6fc8c Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 24 Nov 2019 02:03:55 +0900 Subject: [PATCH] fixed bug where non-video/audio types would show a "duration" as their "rate" --- app/project/item/footage/footage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/project/item/footage/footage.cpp b/app/project/item/footage/footage.cpp index 6806e366c..b82bc16ce 100644 --- a/app/project/item/footage/footage.cpp +++ b/app/project/item/footage/footage.cpp @@ -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()