GNOME Bugzilla – Bug 141554
vorbis in matroska files makes the vorbisdec plugin segfault
Last modified: 2004-12-22 21:47:04 UTC
$ gst-launch-0.8 filesrc location="test.mka" ! matroskademux ! vorbisdec ! audioconvert ! audioscale ! audio/x-raw-int,rate=48000 ! alsasink device=dsp1 --gst-scheduler=basicgthread RUNNING pipeline ... Segmentation fault (core dumped)
+ Trace 46562
Created attachment 27261 [details] test file, matroska with one vorbis audio stream
We need to gst_pad_push() the codecprivatedata before anything else from the vorbis stream, it contains the first three vorbis packets.
could you fix that for now by not claiming you're sending audio/x-vorbis ? I'll look at the segfault.
ok, it doesn't segfault anymore and errors out properly. I'll leave this open so matroska gets fixed.
Created attachment 30089 [details] [review] patch to make demuxing of vorbis in matroska work This patch works for me. I'm not sure if it's ok to check for the beginning of the stream like I do in the patch, but it worked with the files I tested.