GNOME Bugzilla – Bug 712219
dvdspu: stalled playback
Last modified: 2013-11-26 11:32:51 UTC
Files encoded with vp8/vorbis and mixed in to matroska stall on playback.
For example if i play this file with totem:
it will always stall at 0:03:25.
It can be as well an encoding problem, but this file is working with vlc.
One addition, in this case it will stall only if played from the beginning.
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?
Looks like this was due to dvdspu going loopy at some point:
Author: Mark Nauwelaerts <email@example.com>
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.
Thanks! Works for me.
A small addendum to that commit:
Author: Jan Schmidt <firstname.lastname@example.org>
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.