C# Class GnomeSubtitles.Ui.VideoPreview.Video

Show file Open project: GNOME/gnome-subtitles

Public Methods

Method Description
Close ( ) : void
Forward ( ) : void
Hide ( ) : void
Open ( Uri videoUri ) : void

Opens a video file.

Quit ( ) : void
Rewind ( ) : void
Seek ( System.TimeSpan time ) : void

Seeks to the specified time.

Seek ( int frames ) : void
SeekToPath ( Gtk.TreePath path ) : void
SeekToSelection ( ) : void
SeekToSelection ( bool allowRewind ) : void
SelectNearestSubtitle ( ) : void
SetLoopSelectionPlayback ( bool enabled ) : void
Show ( ) : void
SpeedDown ( ) : void
SpeedReset ( ) : void
SpeedUp ( ) : void
Video ( ) : GnomeSubtitles.Core

Private Methods

Method Description
InitializePlayer ( ) : void
InitializeVideoFrame ( ) : void
OnBaseInitFinished ( ) : void
OnPlayPauseButtonToggled ( object o, EventArgs args ) : void
OnPlayerEndOfStream ( ) : void
OnPlayerError ( Uri videoUri, Exception e ) : void
OnPlayerFoundDuration ( System.TimeSpan duration ) : void
OnPlayerFoundVideoInfo ( VideoInfoEventArgs args ) : void
OnPlayerStateChanged ( StateEventArgs args ) : void
OnSubtitleSelectionChanged ( Gtk.TreePath paths, Subtitle subtitle ) : void
OnVideoPositionChangedLoopPlayback ( System.TimeSpan position ) : void

Do loop playback when it's enabled, seeking to current selection on video position change.

Pause ( ) : void
Play ( ) : void
SetControlsSensitivity ( bool sensitivity ) : void
SetCustomIcons ( ) : void
SetSelectionDependentControlsSensitivity ( bool sensitivity ) : void
SilentDisablePlayPauseButton ( ) : void
UpdateSpeedControls ( float speed ) : void
handlePlayerLoading ( ) : void
isPlayerLoadComplete ( ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Forward() public method

public Forward ( ) : void
return void

Hide() public method

public Hide ( ) : void
return void

Open() public method

Opens a video file.
Thrown if the player could not open the video.
public Open ( Uri videoUri ) : void
videoUri System.Uri
return void

Quit() public method

public Quit ( ) : void
return void

Rewind() public method

public Rewind ( ) : void
return void

Seek() public method

Seeks to the specified time.
public Seek ( System.TimeSpan time ) : void
time System.TimeSpan The time position to seek to, in seconds.
return void

Seek() public method

public Seek ( int frames ) : void
frames int
return void

SeekToPath() public method

public SeekToPath ( Gtk.TreePath path ) : void
path Gtk.TreePath
return void

SeekToSelection() public method

public SeekToSelection ( ) : void
return void

SeekToSelection() public method

public SeekToSelection ( bool allowRewind ) : void
allowRewind bool
return void

SelectNearestSubtitle() public method

public SelectNearestSubtitle ( ) : void
return void

SetLoopSelectionPlayback() public method

public SetLoopSelectionPlayback ( bool enabled ) : void
enabled bool
return void

Show() public method

public Show ( ) : void
return void

SpeedDown() public method

public SpeedDown ( ) : void
return void

SpeedReset() public method

public SpeedReset ( ) : void
return void

SpeedUp() public method

public SpeedUp ( ) : void
return void

Video() public method

public Video ( ) : GnomeSubtitles.Core
return GnomeSubtitles.Core