C# Class HandBrake.ApplicationServices.Services.LibEncode

LibHB Implementation of IEncode
Inheritance: HandBrake.ApplicationServices.Services.Base.EncodeBase, IEncode
Mostra file Open project: golgol7777/HandBrakeWinSource

Public Methods

Method 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

Method 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 method

Initializes a new instance of the LibEncode class.
public LibEncode ( ) : System
return System

SafelyStop() public method

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
return void

Start() public method

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. ///
return void

Stop() public method

Kill the CLI process
public Stop ( ) : void
return void

Stop() public method

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 ///
return void