[gst-devel] filesrc rewind
Julien MOUTTE
jmoutte at electronic-group.com
Fri Mar 7 02:28:32 CET 2003
simply seek to position 0
take a look at libgstplay source code for a sample..
Enjoy
dolphy
On Fri, 7 Mar 2003 10:48:56 +0100 (CET)
august <august at alien.mur.at> wrote:
>
> hey list,
>
> this is my first post. I was on the list in 2001 and am now just getting
> back into it. have to say, gstreamer has really come a long way. Spent
> yesterday having fun playing with the demos and examples - after one day
> gstreamer seems very clear and well-designed . As a beginner/intermediate
> programmer, I am able to snap on to it rather quickly. bravo and
> congrats on the hard work!
>
> just curious, how would one "rewind" a filesrc? or, for that matter, how
> would one re-open the "location" part to play something else?
>
> I want to simple change the file in a filesrc or in the case of a loop,
> just rewind.
>
> I try with such things :
> gst_element_set( element,"location", "/home/blah/file.mp3",NULL);
> gst_element_set_state(GST_ELEMENT(element), GST_STATE_PLAYING);
>
> does one have to unlink, destroy, recreate and relink
> to do this?
>
>
> thanks - august.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> disoriented. TotalView can help you find your way. Available on major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Julien MOUTTE - jmoutte at electronic-group.com
C.T.O.
_________________________________________________________
ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com
World Trade Center, Moll de BARCELONA
Edificio Norte 4 Planta
08039 BARCELONA SPAIN
Tel : +34 93600 23 23 Fax : +34 93600 23 10
_________________________________________________________
More information about the gstreamer-devel
mailing list