Back to Seed Clases

Gst


Classes

Interfaces

Structs

Unions

Enums

Enum Gst.SeekFlags

Import line: Gst = imports.gi.Gst;
GIR File: Gst-0.10.gir
C documentation: GstSeekFlags
Enum : SeekFlags
  Show / Hide Inherited methods, properties and signals
Flags to be used with gst_element_seek() or gst_event_new_seek(). All flags can be used together. A non flushing seek might take some time to perform as the currently playing data in the pipeline will not be cleared. An accurate seek might be slower for formats that don't have any indexes or timestamp markers in the stream. Specifying this flag might require a complete scan of the file in those cases. no EOS will be emmited by the element that performed the seek, but a GST_MESSAGE_SEGMENT_DONE message will be posted on the bus by the element. When this message is posted, it is possible to send a new seek event to continue playback. With this seek method it is possible to perform seemless looping or simple linear editing. When doing fast forward (rate > 1.0) or fast reverse (rate < -1.0) trickmode playback, the GST_SEEK_FLAG_SKIP flag can be used to instruct decoders and demuxers to adjust the playback rate by skipping frames. This can improve performance and decrease CPU usage because not all frames need to be decoded.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gst.Element
Method
seek (Number rate, Format format, SeekFlags flags, SeekType cur_type, Number cur, SeekType stop_type, Number stop) : Boolean
Sends a seek event to an element.
Gst.Element
Method
seek_simple (Format format, SeekFlags seek_flags, Number seek_pos) : Boolean
Gst.Event
Method
new Gst.Event.seek (Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop) : Gst.Event
Create a new Gst.Event
Gst.Event
Method
parse_seek (Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type) : Object
Parses a seek event and stores the results in the given result locations.
Gst.Segment
Method
set_seek (Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop) : Boolean
Update the segment structure with the field values of a seek event (see gst_event_new_seek()).
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:56 GMT+0800 (HKT)