[gst-devel] backward seeking
Jan Schmidt
thaytan at noraisin.net
Fri Jul 25 01:08:46 CEST 2008
On Thu, 2008-07-24 at 20:52 +0000, Ash wrote:
> Anybody know why backward seeking causes playback to hang?
>
> gst_element_seek(m_bin, -2.0 , GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |
> GST_SEEK_FLAG_KEY_UNIT,
> GST_SEEK_TYPE_SET, 0,
> GST_SEEK_TYPE_SET, curpos*GST_MSECOND);
>
> Am I calling this wrong?
>
>
> ______________________________________________________________________
Whether reverse playback works depends on the container & codecs - it's
not implemented everywhere yet. You should check the return value from
gst_element_seek - was the seek refused?
J.
--
Jan Schmidt <thaytan at noraisin.net>
More information about the gstreamer-devel
mailing list