[Bug 680870] playbin2 doesn't plug necessary parsers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 31 08:54:40 PDT 2012


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

--- Comment #8 from Andreas Frisch <fraxinas at opendreambox.org> 2012-07-31 15:54:37 UTC ---
hi slomo!

in my first example i tried it with playbin2

then with a simple filesrc ! dvbaudiosink i get
ERROR: from element /GstPipeline:pipeline0/GstDVBAudioSink:dvbaudiosink0: The
stream is in the wrong format.
Additional debug info:
gstdvbaudiosink.c(1071): gst_dvbaudiosink_render ():
/GstPipeline:pipeline0/GstDVBAudioSink:dvbaudiosink0:
hardware decoder not setup (no caps in pipeline?)

if i insert id3demux, it gives me these caps:
/GstPipeline:pipeline0/GstDVBAudioSink:dvbaudiosink0.GstPad:sink: caps =
audio/mpeg, mpegversion=(int)1, layer=(int)3
it does preroll and goes into PLAYING without errors
even though i've implemented an arbitrary acceptcaps function
root at dm7020hd:/media/hdd/movie# gst-launch filesrc
location="/media/net/MP3s/70s Disco/Chic - Le Freak.mp3" ! id3demux !
dvbaudiosink -v
of course this doesn't decode because the stream is unparsed
and the acceptcaps function is not being called

when trying with playbin2 now,
it calls the acceptcaps function twice which checks whether it's parsed or
framed and subsequently returns FALSE (because it isn't)
0:00:00.451739741  9833   0x7dc050 WARN            dvbaudiosink
gstdvbaudiosink.c:539:gst_dvbaudiosink_acceptcaps:<dvbaudiosink0> input stream
is unframed && unparsed! can't handle!
but playbin2 still doesn't plug the parser element and just continues with
PLAYING

-- 
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