Media (gb.media)
Generic methods and constants.
This class is static.
This class acts like a
read-only static array.
Constants
Error
|
That constant represents the type of an error message.
|
Info
|
That constant represents the type of an information message.
|
Null
|
This constant represents the null state or initial state of a MediaControl.
|
Paused
|
This constant represents the state of a paused MediaControl.
|
Playing
|
This constant represents a playing MediaControl.
|
Ready
|
This constant represent the state of a ready MediaControl.
|
SeekAccurate
|
Accurate seeking is requested, this might be considerably slower for some formats.
|
SeekKeyUnit
|
Seek to the nearest keyframe. This might be faster but less accurate.
|
SeekSnapAfter
|
Go to a location after the requested position. With the SeekKeyUnit flag, it means the keyframe at of after the requested position.
|
SeekSnapBefore
|
Go to a location before the requested position. With the SeekKeyUnit flag, it means the keyframe at or before the requested position the one at or before the seek target.
|
SeekSnapNearest
|
Go to a position near the requested position. With the SeekKeyUnit flag, it means the keyframe closest to the requested position. If both keyframes are at an equal distance, behaves like SeekSnapBefore.
|
SeekTrickMode
|
When doing fast forward or fast reverse playback, allow elements to skip frames instead of generating all frames.
|
SeekTrickModeKeyUnit
|
When doing fast forward or fast reverse playback, request that elements only decode keyframes and skip all other content, for formats that have keyframes.
|
SeekTrickModeNoAudio
|
When doing fast forward or fast reverse playback, request that audio decoder elements skip decoding and output only gap events or silence.
|
Unknown
|
This constant represents an unknown MediaControl state.
|
Warning
|
That constant represents the type of a warning message.
|
Static properties
Static methods
Link
|
Link two or more controls together successively.
|
Time
|
Convert a time in seconds into a GStreamer time stamp.
|
URL
|
Convert a file path into a URL.
|