<div dir="ltr">Hi! <br>If you set the start time at 0, a backward seeking will try to seek to negatives values. It will place your stream at 0 mseconds and then it will try to go backward witch is imposible as it&#39;s the end of the stream. Try changing your start time to curpos*GST_MSECOND. It will seek to a new position with positive values and your stream will be played backward to the 0 position.<br>
<br><div class="gmail_quote">2008/7/25 Ash &lt;<a href="mailto:hashbrown100@hotmail.com">hashbrown100@hotmail.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<br>The seek returns true but just hangs. Are there any other messages I can see as to what is really happening in the pipeline?<br>&gt; From: <a href="mailto:thaytan@noraisin.net" target="_blank">thaytan@noraisin.net</a><br>
&gt; To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>&gt; Date: Fri, 25 Jul 2008 00:08:46 +0100<br>&gt; Subject: Re: [gst-devel] backward seeking<div>
<div></div><div class="Wj3C7c"><br>&gt; <br>&gt; On Thu, 2008-07-24 at 20:52 +0000, Ash wrote:<br>&gt; &gt; Anybody know why backward seeking causes playback to hang?<br>&gt; &gt; <br>&gt; &gt; gst_element_seek(m_bin, -2.0 , GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |<br>
&gt; &gt; GST_SEEK_FLAG_KEY_UNIT,<br>&gt; &gt; GST_SEEK_TYPE_SET, 0,<br>&gt; &gt; GST_SEEK_TYPE_SET, curpos*GST_MSECOND);<br>&gt; &gt; <br>&gt; &gt; Am I calling this wrong?<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ______________________________________________________________________<br>
&gt; Whether reverse playback works depends on the container &amp; codecs - it&#39;s<br>&gt; not implemented everywhere yet. You should check the return value from<br>&gt; gst_element_seek - was the seek refused?<br>&gt; <br>
&gt; J.<br>&gt; -- <br>&gt; Jan Schmidt &lt;<a href="mailto:thaytan@noraisin.net" target="_blank">thaytan@noraisin.net</a>&gt;<br>&gt; <br>&gt; <br>&gt; -------------------------------------------------------------------------<br>
&gt; This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<br>
&gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></div></div><hr>Time for vacation? WIN what you need. <a href="http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm" target="_blank">Enter Now!</a></div>
<br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</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>
<br></blockquote></div><br></div>