Do you need to set the pipeline in the NULL state after pausing it?<br><br>Regards,<br>Javi<br><br><div class="gmail_quote">2009/3/15 Erwin Rol <span dir="ltr"><<a href="mailto:mailinglists@erwinrol.com">mailinglists@erwinrol.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
i am trying to seek in a pipeline but it always seems to fail. I have<br>
tried it in every possible state NULL/READY/PAUSED/PLAYING but it never<br>
works.<br>
<br>
My pipeline setup is like that<br>
<br>
filesrc location=audio.ogg ! queue ! oggdemux ! vorbisparse ! vorbisdec<br>
! audioconvert ! queue ! alsasink<br>
filesrc location=video.ogv ! queue ! oggdemux ! theoraparse ! theoradec<br>
! queue ! dfbvideosink<br>
<br>
So the audio and video are in separate files. Playing stopping, pausing<br>
works fine. But i can't get seeking to work. I need seeking because i<br>
have 6 audio tracks in 6 files and need to beable to switch the track<br>
without stopping the video (or at least only pause it for a sec and than<br>
restart at the old position)<br>
<br>
I tried it like that<br>
<br>
1) set pipeline PAUSED<br>
2) get pipeline position<br>
3) set pipeline NULL<br>
4) set new location=audio.ogg<br>
5) set pipeline PAUSED<br>
6) seek to position got at (2)<br>
7) set pipeline PLAYING<br>
<br>
I do wait for the ASYNC state changes, but the seek always returns<br>
FALSE, and the files starts playing at position 0.<br>
<br>
What am I doing wrong, cause i really can't find much in the net other<br>
than that seeking only works in paused/playing state.<br>
<br>
- Erwin<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<br>
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<br>
easily build your RIAs with Flex Builder, the Eclipse(TM)based development<br>
software that enables intelligent coding and step-through debugging.<br>
Download the free 60 day trial. <a href="http://p.sf.net/sfu/www-adobe-com" target="_blank">http://p.sf.net/sfu/www-adobe-com</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>