Hi,
I've a pipeline like this - gstpipeline(filesrc->decodeBin2->gstbin(ffmpegcolorspace->capsfilter->appsink)). The gstBin shown above has a ghost pad (mirroring sink pad of the converter). When I try to link the src pad of decodeBin2 (in the new-decoded-pad callback) with the sink ghostpad of the gstbin - the call gst_element_get_static_pad on the bin leads to a segmentation fault. Any idea why? Here's the code I'm using - Ghost pad creation - ConvSinkPad = gst_element_get_static_pad(converter, "sink"); gst_element_add_pad(GST_ELEMENT(app_data->convBin), gst_ghost_pad_new("sink", ConvSinkPad)); gst_object_unref(ConvSinkPad); Linking - on_decodeBin_newpad(..., GstPad* pad) { .... ... convBinSinkPad = gst_element_get_static_pad(app_data->convBin, "sink"); gst_pad_link(pad, convBinSinkPad); gst_object_unref(convBinSinkPad); } PS - I tried debugging but I don't get any logs even with level 5. Thanks Rohit ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Bummer!
I was using a deprecated signal - new-decoded-pad. On a separate note, the documentation here needs an updated signal list -
Thanks Rohit On Mon, Jan 17, 2011 at 10:12 AM, Rohit Atri <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |