Flix2_stopencoding, Flix2_stopencoding(), Flix2_validate() – Google Flix Engine Linux Reference Manual User Manual

Page 173

Advertising
background image

5.38 Main Engine Interface

167

5.38.2.22

on2sc Flix2_SetOverwriteExistingFiles (FLIX2HANDLE flix, const on2bool
bOverwriteExistingFiles)

Enable/disable overwriting of existing output files.

The engine’s behavior based on this setting is described by

Flix2_SetOutputFile()

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← bOverwriteExistingFiles Enable/Disable

Return values:

ON2_OK

on success

ON2_INVALID_PARAMS

should the precondition fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

Note:

Default:

on2false

5.38.2.23

on2sc Flix2_StopEncoding (FLIX2HANDLE flix)

Cancel a running encoding session.

Stops an encoding session started by

Flix2_Encode()

. The output file will be removed.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

Return values:

ON2_OK

the engine successfully stopped the encode

ON2_INVALID_PARAMS

should the precondition fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

5.38.2.24

on2sc Flix2_Validate (const FLIX2HANDLE flix)

Validate the current encoder settings.

Ensures that the current options set in the engine will allow for an encoding session to be started.

The validation steps performed are:

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising