C# Класс HandBrake.ApplicationServices.Services.LibEncode

LibHB Implementation of IEncode
Наследование: HandBrake.ApplicationServices.Services.Base.EncodeBase, IEncode
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

LibEncode() публичный Метод

Initializes a new instance of the LibEncode class.
public LibEncode ( ) : System
Результат System

SafelyStop() публичный Метод

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
Результат void

Start() публичный Метод

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. ///
Результат void

Stop() публичный Метод

Kill the CLI process
public Stop ( ) : void
Результат void

Stop() публичный Метод

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 ///
Результат void