fixed bug where non-video/audio types would show a "duration" as their "rate"
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user