[Bug 680904] wavparse src can not link to audioconvert when using USB sound card

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 7 04:45:33 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680904
  GStreamer | gstreamer (core) | 0.10.36

--- Comment #14 from soho123.2012 at gmail.com 2012-08-07 11:45:27 UTC ---
Hi Sir, 

Keep tracing the flow by put message when running gst-launch for wav file.

In wavparse, I get the caps of src:
riff-media.c, gst_riff_create_audio_caps(), caps=0x47c420, len=1

and the message below say the other pad (sink) has empty caps:


gstutils.c, gst_element_get_compatible_pad, line 1130 ,says "examining pad
audioconvert0:sink"
gstutils.c gst_element_get_compatible_pad(), line 1141, call gst_pad_check_link
then in gstutils.c, gst_pad_check_link(), it says "trying to link wavparse0:src
and audioconvert0:sink"
then in gstutils.c, gst_pad_get_fixed_caps_func(), line 2469 ,says "using pad
caps 0x47c420"
then in gstutils.c, gst_element_get_compatible_pad(), line 1155, call
gst_caps_intersect
then in gstcaps.c, gst_caps_can_intersect, it says:
caps1=0x498660 CASE EMPTY
!caps1->flags & GST_CAPS_FLAGS_ANY, caps1->flags=0x0
caps1->structs->len=0

===================>this indicates the caps of sink pad is empty 
(audioconvert0:sink)


Do you have any idea?


thanks
Soho

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