[Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed Dec 26 19:06:43 CET 2018
http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4-
Comment #1 by Benoît MINISINI:
GStreamer does not compute the stream duration immediately. You have to listen to the Duration MediaPipeline event to know when the duration is computed. And it can change several times while the media is played!
As for the URL property, for GStreamer it's not the current uri, but the next uri to play. (The NextURL property being the next next uri to play!). So I guess GStreamer resets the property to null when the media actually starts playing.
Benoît MINISINI changed the state of the bug to: Rejected.
More information about the Bugtracker
mailing list