[gst-devel] Problem in requesting pad for avimux
kirrthana M
kirrthana at tataelxsi.co.in
Sun Sep 23 13:04:50 CEST 2007
Hi all ,
I have created a pipeline where i capture live audio and video,encode
it and mux using avimux.
My pipeline is like
video source --->encode--->tee---->queue----> |
|--->avimu
x
audio source---->encode---->tee---->queue---->|
Im requesting pad from queue to avimux and linking like this
gst_pad_link(gst_element_get_pad(queue,"sink"),gst_element_get_pad(avimux,"v
ideo_00")
similarly for audio:-
gst_pad_link(gst_element_get_pad(queue,"sink"),gst_element_get_pad(avimux,"a
udio_00")
the return value of gst_pad_link is -1,which says
GST_PAD_LINK_WRONG_HIERARCHY pads have no common grandparent
Is this is not the correct way to request and link the pad.If it so just
give me a suggestion of how to request and link.
Regards
Kirrthana
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
Contact your Administrator for further information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070923/ca2ff272/attachment.htm>
More information about the gstreamer-devel
mailing list