libVLC v4: time position of paused mediaplayer continues to increase

This forum is about all development around libVLC.
johend
New Cone
New Cone
Posts: 4
Joined: 21 May 2024 13:35

libVLC v4: time position of paused mediaplayer continues to increase

Postby johend » 21 May 2024 14:04

Using libVLC 4.0.0: after pausing a mediafile (either URL or file), the internal "position counter" seems to be still running. Because when I call libvlc_media_player_get_time() in a paused player, the returned value is still incrementing continuously. Is this known/documented behaviour? By the way: when resuming playing, the playing continues from the original (paused) position, which is good of course. So the only issue is my position counter is incrementing even when the player is paused after calling libvlc_media_player_pause()

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: libVLC v4: time position of paused mediaplayer continues to increase

Postby mfkl » 03 Jun 2024 15:57

https://mfkl.github.io

wbtcpip
Blank Cone
Blank Cone
Posts: 14
Joined: 13 May 2021 16:21

Re: libVLC v4: time position of paused mediaplayer continues to increase

Postby wbtcpip » 06 Jun 2024 13:08

libvlc4 is for testing only because it's far from be stable

johend
New Cone
New Cone
Posts: 4
Joined: 21 May 2024 13:35

Re: libVLC v4: time position of paused mediaplayer continues to increase

Postby johend » 07 Jun 2024 14:38

That is good to know. I must say that libVLC4 was behaving quite good. But I will revert to version 3.0.20, just to be sure that no hidden problems will appear. Thanks!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests