[gst-devel] playing ogg problem
laurent belmonte
laurent.belmonte at aliacom.fr
Wed Jun 23 08:03:27 CEST 2004
On Wed, 2004-06-23 at 14:54 +0200, Benjamin Otte wrote:
> 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.
>
thanks you !
so, my last question before the impossible one (later), how can i make
it loop
( when receive "eos" signal, i want to seek to the begin of the file )
> > 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