Skip to content

feat(Player): add getter of video duration

Luis MENDOZA requested to merge feat/fwVideo-player-add-get-duration into dev

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
Edited by Marc SCHWEITZER

Merge request reports