bambooagile / QuickVLC

Vlc and Qt (Qml) integration library
Other
8 stars 2 forks source link

Wrong current media position #8

Open AlexeyGromov opened 2 years ago

AlexeyGromov commented 2 years ago

When you play such formats as .vob, .mkv, .m2v, the wrong current media position returns. A position is fetched from libvlc_media_player_get_position(m_vlcMediaPlayer) function.

For .vob format the returned position is equal to media duration. For .mkv format the returned position starts from 155 min 08 s. For .m2v format the position is not emitted at all.

This issue is reproduced on MacOS and Windows.

The media files сan be found here https://drive.google.com/drive/folders/1eHvcqqzVL4j7WWE4jIwk5WwbiNM7LRs9?usp=sharing

chubinou commented 1 year ago

well, medias don't necessary starts at 0 nor have a known duration