Minor code improvements

This commit is contained in:
Bruno
2021-05-17 16:13:21 +02:00
parent 2333a7a11a
commit 7a9fcaefd6
4 changed files with 8 additions and 8 deletions

View File

@@ -188,6 +188,10 @@ public:
* Seek to zero
* */
void rewind();
/**
* Get position time
* */
GstClockTime position();
/**
* go to a valid position in media timeline
* pos in nanoseconds.
@@ -210,10 +214,6 @@ public:
void setTimeline(const Timeline &tl);
float currentTimelineFading();
/**
* Get position time
* */
GstClockTime position();
/**
* Get framerate of the media
* */
@@ -245,7 +245,7 @@ public:
* Get the name of the hardware decoder used
* Empty string if none (i.e. software decoding)
* */
std::string hardwareDecoderName();
std::string hardwareDecoderName() const;
/**
* Forces open using software decoding
* (i.e. without hadrware decoding)