[gstreamer-bugs] [Bug 539108] gst_ghost_pad_new() does more than call g_object_new()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Oct 8 12:33:10 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=539108

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Andy Wingo changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




------- Comment #20 from Andy Wingo  2008-10-08 19:33 UTC -------
Heya José,

Reopening while this discussion continues. Your test case is really odd; it
should work, I think, but the reason it doesn't appears to be that the new pad
that you create is incompatible with the "internal" pad (here we get into
implementation details).

Here's the GST_DEBUG=4 snippet:

0:00:26.644419975 21326  0x9c653f0 INFO              GST_PADS
gstpad.c:1805:gst_pad_link_prepare: trying to link gpad:proxypad0 and '':pad
0:00:26.644438343 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:1773:gst_pad_link_check_hierarchy: one of the pads has no parent
<'':gpad> and (NULL)
0:00:26.644474102 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:2009:gst_pad_get_caps_unlocked:<gpad:proxypad0> get pad caps
0:00:26.644489049 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:2013:gst_pad_get_caps_unlocked:<gpad:proxypad0> dispatching to pad
getcaps function
0:00:26.644504414 21326  0x9c653f0 DEBUG             GST_PADS
gstghostpad.c:255:gst_proxy_pad_do_getcaps:<gpad:proxypad0> pad has no
template, returning ANY
0:00:26.644520687 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:2026:gst_pad_get_caps_unlocked:<gpad:proxypad0> pad getcaps returned
ANY
0:00:26.644538008 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:2009:gst_pad_get_caps_unlocked:<'':pad> get pad caps
0:00:26.644551977 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:2068:gst_pad_get_caps_unlocked:<'':pad> pad has no caps
0:00:26.644565177 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:1685:gst_pad_link_check_compatible_unlocked: src caps ANY
0:00:26.644579634 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:1686:gst_pad_link_check_compatible_unlocked: sink caps EMPTY
0:00:26.644623146 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:1706:gst_pad_link_check_compatible_unlocked: intersection caps
0x9d29660 EMPTY
0:00:26.644638791 21326  0x9c653f0 DEBUG             GST_CAPS
gstpad.c:1724:gst_pad_link_check_compatible_unlocked: intersection is EMPTY
0:00:26.644652969 21326  0x9c653f0 INFO              GST_PADS
gstpad.c:1860:gst_pad_link_prepare: caps are incompatible

I am led to believe that your test case would not have worked before the recent
changes. Odd that EMPTY is incompatible with ANY though. Does anyone more
knowledgeable have any input on this?

Andy


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=539108.




More information about the Gstreamer-bugs mailing list