feat(Player): add getter of video duration
What does this MR do?
Adds a getter for QMediaPlayer::duration()
this is useful for knowing how much time is left on your video and especially for a video timeline editor which basically uses the ::fwVideoQt::Player
to get specific frames at specific positions.
How to test it?
Try this MR...
-
Build on Windows -
Build on Linux -
Build on Mac