error in removing demux element's sinkpad

Yogesh Tyagi yogesh.bit2006 at gmail.com
Wed Nov 20 00:44:19 PST 2013


Hi,

Is it not required to remove element's sink pad using
"gst_element_remove_pad" function. I am getting following error:

(im_gst_play:3650): GLib-GObject-WARNING **: invalid uninstantiatable type
`(null)' in cast to `GstPad'

(im_gst_play:3650): GStreamer-CRITICAL **: gst_element_remove_pad:
assertion `GST_IS_PAD (pad)' failed

on calling

gst_element_remove_pad(GST_ELEMENT_CAST(demux),
GST_PAD(smd_element->sink_pad);

from demux elements's finalize method.


Thanks,
Yogesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131120/f611ec70/attachment.html>


More information about the gstreamer-devel mailing list