[Bug 659573] multipartdemux: segfault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 7 08:21:41 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=659573
  GStreamer | gst-plugins-good | git

--- Comment #10 from Nicola <lists at svrinformatica.it> 2011-12-07 16:21:35 UTC ---
Hi Vincent,

I think the patch solve both the problems, using the attached test file I have
the following (with the patch):

gst-launch filesrc location=/tmp/test.multipart ! multipartdemux ! decodebin2 !
pulsesink
Impostazione della pipeline a PAUSED ...
La pipeline è in PREROLLING ...
ERRORE: dall'elemento /GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0:
Impossibile de-multiplare lo stream.
Informazioni di debug aggiuntive:
multipartdemux.c(519): multipart_parse_header ():
/GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0:
Boundary not found in the multipart header
ERRORE: la pipeline non vuole fare il preroll.
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...

so it give errors if no mime is found,

the patch allow to specify a mime as a property and optionally to skip the
first n bytes of the buffer (it is quite common in custom format add some bytes
to the begin of a frame/buffer), so if you apply the patch you can use a
pipeline such this to play the attached file:

gst-launch filesrc location=/tmp/test.multipart ! multipartdemux
skip-first-n-bytes=28
force-mime-if-null="audio/x-raw-int,rate=8000,channels=1,endianness=1234,width=16,depth=16,signed=true"
 ! decodebin2 ! pulsesink

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list