C# Class GnomeSubtitles.Ui.VideoPreview.Video

Afficher le fichier Open project: GNOME/gnome-subtitles

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Close ( ) : void
Résultat void

Forward() public méthode

public Forward ( ) : void
Résultat void

Hide() public méthode

public Hide ( ) : void
Résultat void

Open() public méthode

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

Quit() public méthode

public Quit ( ) : void
Résultat void

Rewind() public méthode

public Rewind ( ) : void
Résultat void

Seek() public méthode

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

Seek() public méthode

public Seek ( int frames ) : void
frames int
Résultat void

SeekToPath() public méthode

public SeekToPath ( Gtk.TreePath path ) : void
path Gtk.TreePath
Résultat void

SeekToSelection() public méthode

public SeekToSelection ( ) : void
Résultat void

SeekToSelection() public méthode

public SeekToSelection ( bool allowRewind ) : void
allowRewind bool
Résultat void

SelectNearestSubtitle() public méthode

public SelectNearestSubtitle ( ) : void
Résultat void

SetLoopSelectionPlayback() public méthode

public SetLoopSelectionPlayback ( bool enabled ) : void
enabled bool
Résultat void

Show() public méthode

public Show ( ) : void
Résultat void

SpeedDown() public méthode

public SpeedDown ( ) : void
Résultat void

SpeedReset() public méthode

public SpeedReset ( ) : void
Résultat void

SpeedUp() public méthode

public SpeedUp ( ) : void
Résultat void

Video() public méthode

public Video ( ) : GnomeSubtitles.Core
Résultat GnomeSubtitles.Core