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 712219 - dvdspu: stalled playback
dvdspu: stalled playback
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.2.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-13 14:17 UTC by Oleksij Rempel
Modified: 2013-11-26 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleksij Rempel 2013-11-13 14:17:37 UTC
Files encoded with vp8/vorbis and mixed in to matroska stall on playback. 

For example if i play this file with totem:
https://www.dropbox.com/s/0lrcmxj1g8wwhpt/out.mkv

it will always stall at 0:03:25.

It can be as well an encoding problem, but this file is working with vlc.
Comment 1 Oleksij Rempel 2013-11-13 14:20:55 UTC
One addition, in this case it will stall only if played from the beginning.
Comment 2 Oleksij Rempel 2013-11-22 10:08:57 UTC
hmm... if i use:
gst-launch-1.0 -vm filesrc location=out.mkv ! decodebin name=dec dec. ! pulsesink dec. ! autovideosink

instead of totem, this file works without problems.

So, is it totem problem, or it use just different  pipeline?
Comment 3 Mark Nauwelaerts 2013-11-23 13:37:11 UTC
Looks like this was due to dvdspu going loopy at some point:

commit db915754c15009dfe61bbc016b801f5bb63b1e84
Author: Mark Nauwelaerts <mnauw@users.sourceforge.net>
Date:   Sat Nov 23 14:35:06 2013 +0100

    dvdspu: pop new packet when invalid next command block
    
    ... to prevent staying stuck on current command block and busy looping.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712219
Comment 4 Oleksij Rempel 2013-11-23 18:42:53 UTC
Thanks! Works for me.
Comment 5 Jan Schmidt 2013-11-25 04:33:36 UTC
A small addendum to that commit:

commit d92b6f799595fcb8ad5ac6518565e745d00a0cd6
Author: Jan Schmidt <jan@centricular.com>
Date:   Mon Nov 25 15:17:33 2013 +1100

    dvdspu: Don't unmap an unreffed buffer
    
    gst_dvd_spu_finish_spu_buf drops the reference to the current
    buffer, so make sure to call gst_buffer_unmap before it.