[gst-devel] GstPlay, data_src with more than one pad.

Benjamin Otte in7y118 at public.uni-hamburg.de
Sat May 17 14:39:02 CEST 2003


On Sat, 17 May 2003, Martin Eikermann wrote:

> I'm building an appliaction and use gstreamer, more precisely GstPlay,
> for it. The application is supposed to have an OnScreenDisplay (plugin
> under development), this works fine as long as I play from a source with
> one src-pad only (filesrc, udpsrc, ...). But for the OnScreen display I
> need to run the pipeline continuesly in order to be able to update the
> OSD-Image. So while not playing anything, I'd like to set the data_src
> in GstPlay to
>
>   ( { videotestsrc pattern=2 ! queue } { silence ! queue } )
>
> But using the above Bin (with ghostpads) won't work.
>
Spider was supposed to support more than one input pad, but does not do so
anymore, because it didn't work, so we removed that.
We probably forgot removing the Padtemplates so gst-inspect gives wrong
output.

>          GST_DEBUG(0, "GrepHelper- Linking Pad: %s:%s to %s:%s",
>                GST_ELEMENT_NAME(src_parent),
>                GST_PAD_NAME(src_pad),
>                GST_ELEMENT_NAME(dest_parent),
>                GST_PAD_NAME(dest_pad)
>                );
>
You could use GST_DEBUG_PAD_NAME (pad) there to save a little typing.

Benjamin





More information about the gstreamer-devel mailing list