gst_ghost_pad_new () only generates _proxypad not ghost sink pad

vanderhoffer vanderhoffer at gmail.com
Sat Dec 10 00:26:35 UTC 2016


Hi,
I am adding a ghost pad with

*myGhostPad_sink = gst_ghost_pad_new ();*
*myGhostPad_src = gst_ghost_pad_new ();*

and testing with 

 *if(GST_PAD_DIRECTION(myGhostPad_sink) == GST_PAD_SINK)*

however the .dot file does not show reference to a ghost sink pad, only a
/_proxypadn_nnnnnnn/ as shown in the image below

when trying to verify pad exists with
*gst_element_get_static_pad()*
it returns null.

This only happens on sink pads, src pads work as expected.
Am I doing something wrong for adding ghost sink pads?

thanks
Art

<http://gstreamer-devel.966125.n4.nabble.com/file/n4681132/Capture.png> 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-ghost-pad-new-only-generates-proxypad-not-ghost-sink-pad-tp4681132.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list