[Gambas-bugtracker] Bug #2715: MediaPlayer_Duration event is zero
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Mar 4 13:10:58 CET 2023
http://gambaswiki.org/bugtracker/edit?object=BUG.2715&from=L21haW4-
Comment #6 by Benoît MINISINI:
So let's go back to comment #2.
I did what you say, and correctly get the duration when the file is played.
I didn't say that it is not raised when it is zero. It is raised by GStreamer when the value changes.
The zero value means that the duration is unknown, which is important to know, so that you can display that information (or better that lack of information). So I don't think it's a good idea to prevent that.
More information about the Bugtracker
mailing list