You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #314 from SuslikV/patch-8
Fix return type mismatch in PlayerBase/QtPlayer::Position()
This commit is contained in:
@@ -81,7 +81,7 @@ namespace openshot
|
||||
virtual void Pause() = 0;
|
||||
|
||||
/// Get the current frame number being played
|
||||
virtual int Position() = 0;
|
||||
virtual int64_t Position() = 0;
|
||||
|
||||
/// Seek to a specific frame in the player
|
||||
virtual void Seek(int64_t new_frame) = 0;
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace openshot
|
||||
void Pause();
|
||||
|
||||
/// Get the current frame number being played
|
||||
int Position();
|
||||
int64_t Position();
|
||||
|
||||
/// Seek to a specific frame in the player
|
||||
void Seek(int64_t new_frame);
|
||||
|
||||
@@ -127,7 +127,7 @@ void QtPlayer::Pause()
|
||||
Speed(0);
|
||||
}
|
||||
|
||||
int QtPlayer::Position()
|
||||
int64_t QtPlayer::Position()
|
||||
{
|
||||
return p->video_position;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user