MediaFile
GtkMediaFile
implements GtkMediaStream
for files.
This provides a simple way to play back video files with GTK.
GTK provides a GIO extension point for GtkMediaFile
implementations to allow for external implementations using various media frameworks.
GTK itself includes an implementation using GStreamer.
Constructors
Creates a new empty media file.
Creates a new media file to play @file.
Creates a new media file for the given filename.
Creates a new media file to play @stream.
Properties
Functions
Returns whether the stream has finished initializing.
Checks if a stream may be seekable.
Ends a seek operation started via GtkMediaStream.seek() as a failure.
Ends a seek operation started via GtkMediaStream.seek() successfully.
Sets the `GtkMediaFile to play the given file.
Sets the `GtkMediaFile to play the given resource.
Pauses the media stream and marks it as ended.
Called by GtkMediaStream
implementations to advertise the stream being ready to play and providing details about the stream.
Resets a given media stream implementation.
Same as gtk_media_stream_stream_unprepared().