[gstreamer-bugs] [Bug 158163] New: Problem querying on ghostpads

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Nov 13 04:51:49 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=158163
GStreamer | gstreamer (core) | Ver: 0.8.7

           Summary: Problem querying on ghostpads
           Product: GStreamer
           Version: 0.8.7
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at bilboed.com
         QAContact: gstreamer-bugs at lists.sourceforge.net


When I use a decodebin, querying on one of the pads created (ghostpads)
segfaults with the following :

GLib-GObject-WARNING **: invalid cast from `GstDecodeBin' to `GstAviDemux'


#0  0xb65ef347 in gst_avi_demux_get_type () from  usr/lib/gstreamer-0.8/libgstavi.so
#1  0xb7b3accb in gst_pad_query () from /usr/lib/libgstreamer-0.8.so.1
#2  0x0805b69e in establish_length (self=0x8706370) at pitivi-sourcefile.c:107
#3  0x0805b9ea in pitivi_sourcefile_create_mainpipeline (self=0x8706370) at
pitivi-sourcefile.c:244
...

If I do the same thing but use GST_PAD_REALIZE(pad) as the parameter to
gst_pad_query() it works fine.

Might want to check the gst_pad_query code to see if the ghostpads are
"realized" before queried.

Using gst-plugins-0.8.5

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list