[gst-devel] playing ogg problem
Benjamin Otte
in7y118 at public.uni-hamburg.de
Wed Jun 23 05:55:14 CEST 2004
On Wed, 23 Jun 2004, laurent belmonte wrote:
> 1) but how can i know that this element use SOMETIMES pads, this other
> element don't use pads and this last one has ten pads ?!
>
It is possible to query the elementfactory of the element, if you want an
in-code solution. The autoplugger does that. If you want to know, use
gst-inspect <elementname>, it prints this out.
> 2) when this signal occur ? can i dynamic link element while the
> pipeline is playing ?
>
The signal occurs when playing. And yes, it's absolutely ok to link while
playing.
> error checking :
> if( gst_element_link_many(.....) == FALSE) {
> g_error("error when linking many elements, but how i know where the error come from ??");
> } else {
> g_debug(" marvellous, it is working. how ? i don't know but it's work !");
> }
>
If you want to know where it fails exactly, use gst_element_link for every
link. gst_element_link_many is just an optimization for stuff that does
work.
Benjamin
More information about the gstreamer-devel
mailing list