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 677991 - playbin: in gapless mode playback of current uri stops before end if there's an error with the pending uri
playbin: in gapless mode playback of current uri stops before end if there's ...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
playback
: 695474 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-06-13 06:23 UTC by Lev
Modified: 2018-11-03 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python script and media file to reproduce the problem. (8.78 KB, application/gzip)
2012-06-13 06:23 UTC, Lev
Details

Description Lev 2012-06-13 06:23:32 UTC
Created attachment 216249 [details]
Python script and media file to reproduce the problem.

I'm using playbin2 and about-to-finish signal to implement gapless playback.
It works well with valid sound files and I receive EOS after the last media file is played.

However after playbin encounters an invalid media file there is no way to detect when the playback stops. If I stop playbin as soon as an error is received the last couple of seconds are truncated from the active media. And there are no more messages on the bus after the error occurred.

I'm testing with a bug fix for https://bugzilla.gnome.org/show_bug.cgi?id=673888
I have attached a python script and test media files to reproduce the issue.
Comment 1 Sebastian Dröge (slomo) 2013-08-16 10:35:13 UTC
Still a problem with latest git master. The error message appears before the previous stream really ended and no EOS comes afterwards.
Comment 2 Tim-Philipp Müller 2014-11-26 21:49:27 UTC
*** Bug 695474 has been marked as a duplicate of this bug. ***
Comment 3 GStreamer system administrator 2018-11-03 11:21:34 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-base/issues/67.