C# Class HandBrake.ApplicationServices.Services.LibEncode

LibHB Implementation of IEncode
Inheritance: HandBrake.ApplicationServices.Services.Base.EncodeBase, IEncode
Afficher le fichier Open project: golgol7777/HandBrakeWinSource

Méthodes publiques

Méthode Description
LibEncode ( ) : System

Initializes a new instance of the LibEncode class.

SafelyStop ( ) : void

Attempt to Safely kill a DirectRun() CLI NOTE: This will not work with a MinGW CLI Note: http://www.cygwin.com/ml/cygwin/2006-03/msg00330.html

Start ( HandBrake.ApplicationServices.Model.QueueTask job, bool enableLogging ) : void

Start with a LibHb EncodeJob Object

Stop ( ) : void

Kill the CLI process

Stop ( Exception exc ) : void

Kill the CLI process

Private Methods

Méthode Description
HandBrakeInstanceErrorLogged ( object sender, MessageLoggedEventArgs e ) : void

Log a message

HandBrakeInstanceMessageLogged ( object sender, MessageLoggedEventArgs e ) : void

Log a message

InstanceEncodeCompleted ( object sender, Interop e ) : void

Encode Completed Event Handler

InstanceEncodeProgress ( object sender, Interop e ) : void

Encode Progress Event Handler

Method Details

LibEncode() public méthode

Initializes a new instance of the LibEncode class.
public LibEncode ( ) : System
Résultat System

SafelyStop() public méthode

Attempt to Safely kill a DirectRun() CLI NOTE: This will not work with a MinGW CLI Note: http://www.cygwin.com/ml/cygwin/2006-03/msg00330.html
public SafelyStop ( ) : void
Résultat void

Start() public méthode

Start with a LibHb EncodeJob Object
public Start ( HandBrake.ApplicationServices.Model.QueueTask job, bool enableLogging ) : void
job HandBrake.ApplicationServices.Model.QueueTask /// The job. ///
enableLogging bool /// The enable Logging. ///
Résultat void

Stop() public méthode

Kill the CLI process
public Stop ( ) : void
Résultat void

Stop() public méthode

Kill the CLI process
public Stop ( Exception exc ) : void
exc System.Exception /// The Exception that has occured. /// This will get bubbled up through the EncodeCompletedEventArgs ///
Résultat void