[gst-devel] Seeking and GstElement clock reset

Sameer Naik sameer at damagehead.com
Fri Oct 26 08:01:49 CEST 2007


On Fri, 2007-10-26 at 10:43 +0530, Gaurav Singh wrote:
> Hi,
> I would like to know what does GST_SEEK_FLAG_KEY_UNIT do? It says in
> the documentation that it seeks to the nearest key frame - what does
> this mean in an avi stream?
> 
GST_SEEK_FLAG_KEY_UNIT will start the playback from the keyframe which
is closest to your seek position.
say, if u seek to position 10 sec in the stream and there is a keyframe
at 9.5 , then it will start the playback from 9.5 instead of 10.
setting this flag results in quicker seeking, but not exactly at the
position you what to seek to, but close.

>  
> On 10/25/07, Gaurav Singh <gausinghnsit at gmail.com> wrote: 
>         Hi,
>         When I perform a flushing seek I notice that the GstElement
>         clock and base time are reset. Since my plugin is derived from
>         this class and uses the two times for syncronization I would
>         like to know if there is any option to perform a flushing seek
>         which doesnt reset this time.\\ 
>          
>         Regards
>         Gaurav
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list