You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed a regression with audio files and seeking, added a few new methods, and more accurately detect the End() of clips.
This commit is contained in:
@@ -27,3 +27,9 @@ int Framerate::GetRoundedFPS() {
|
||||
float Framerate::GetFPS() {
|
||||
return (float) m_numerator / m_denominator;
|
||||
}
|
||||
|
||||
// Return a Fraction of the framerate
|
||||
Fraction Framerate::GetFraction()
|
||||
{
|
||||
return Fraction(m_numerator, m_denominator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user