Are "GST_PAD_ALWAYS sink pad" removed automatically by gstreamer itself

Yogesh Tyagi yogesh.bit2006 at gmail.com
Fri Nov 22 04:16:19 PST 2013


Hi,

I am working on a plugin. In demux element of this plugin 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


while I try to remove "GST_PAD_ALWAYS sink pad" of demux element using
"gst_element_remove_pad" in it's finalize method.

I searched in other open source plugins but I could not find anyone using
""gst_element_remove_pad" api to remove "GST_PAD_ALWAYS sink pad". Neither
I could find in gstreamer documentation any information on whether
"GST_PAD_ALWAYS sink pad" should be removed explicity or not.

I confirmed from logs that my demuxer's sink pad is getting removed
irrespective of whether I use "gst_element_remove_pad" api to remove it or
not.



1:11:06.139371152 ^[[336m 3593^[[00m  0x80510a8 ^[[32;01mINFO   ^[[00m
^[[00;01;31;44m     GST_REFCOUNTING
gstelement.c:3022:gst_element_dispose:<demuxer>^[[00m dispose
1:11:06.139443222 ^[[336m 3593^[[00m  0x80510a8 ^[[36mDEBUG  ^[[00m
^[[00;01;37;41m    GST_ELEMENT_PADS
gstelement.c:3028:gst_element_dispose:<demuxer>^[[00m removing 1 pads
1:11:06.139496167 ^[[336m 3593^[[00m  0x80510a8 ^[[32;01mINFO   ^[[00m
^[[00;01;37;41m    GST_ELEMENT_PADS
gstelement.c:841:gst_element_remove_pad:<demuxer>^[[00m removing pad 'sink'



Can somebody please help?


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


More information about the gstreamer-devel mailing list