Minor improvement display timeline

This commit is contained in:
brunoherbelin
2020-08-07 18:36:40 +02:00
parent 98f9f4a225
commit c829e5a40c
3 changed files with 69 additions and 17 deletions

View File

@@ -43,6 +43,10 @@ public:
* Get name of the file
* */
std::string filename() const;
/**
* Get name of Codec of the media
* */
std::string codec() const;
/**
* True if a media was oppenned
* */
@@ -56,8 +60,8 @@ public:
* */
void close();
/**
* Update status
* Must be called in update loop
* Update texture with latest frame
* Must be called in rendering update loop
* */
void update();
/**
@@ -148,10 +152,6 @@ public:
* measured during play
* */
double updateFrameRate() const;
/**
* Get name of Codec of the media
* */
std::string codec() const;
/**
* Get frame width
* */
@@ -170,7 +170,6 @@ public:
* Must be called in OpenGL context
* */
guint texture() const;
/**
* Accept visitors
* Used for saving session file