After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796630 - gst-player: API for when the stream is interrupted or ended.
gst-player: API for when the stream is interrupted or ended.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-06-19 16:56 UTC by Jordan Petridis
Modified: 2018-11-03 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jordan Petridis 2018-06-19 16:56:06 UTC
Use case, a media player wants to track the progress of a stream and save the last known position before the app was closed or the stream swapped out for another. So if it's an hour long audio file for example next time you hit play it will start from where you left of.

When I asked around in irc, I was told that `connect_end_of_stream` does not do that but it could. (I think in the sense that it's was not meant for that usecase and thus not reliable).
Comment 1 Sebastian Dröge (slomo) 2018-06-20 09:53:44 UTC
Currently end-of-stream happens when the stream actually played until its end. It could be changed to also happen when the stream ends in another way (stop or switching to another stream), and that would be a one-liner.

The question is if that makes sense semantically. It probably does, the stream has ended either way.
Comment 2 GStreamer system administrator 2018-11-03 14:26:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/738.