beautypg.com

Video_options_setvideoframerate, Video_options_setusesourceframerate – Google Flix Engine Linux Reference Manual User Manual

Page 118

background image

112

Flix Engine Linux Module Documentation

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← value Decimate value

Return values:

ON2_OK

The target framerate was successfully set in the engine.

ON2_INVALID_PARAMS

Should one or more of the preconditions fail.

ON2_NET_ERROR

The underlying communication layer failed.

Precondition:

flix

is not NULL

Note:

Default value is 0.
A value of <= 1 means to not drop any frames.

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_FRAMERATE

and the

FE2_FRAMERATE_-

DECIMATE

parameter. This function will be removed in a future release.

5.27.3.6

on2sc video_options_SetUseSourceFramerate (FLIX2HANDLE flix, const on2bool
bUseSourceFramerate)

Switch between source and scaled framerate.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← bUseSourceFramerate New framerate status.

on2true

to use source framerate,

on2false

to use

scaled framerate.

Return values:

ON2_OK

The framerate status was successfully set in the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

By default, the source framerate will be used, unless a call to

video_options_SetVideoFramerate()

,

video_options_SetVideoFramerateAsDouble()

or

video_options_SetDecimateValue()

has been made.

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_FRAMERATE

. Not adding

FE2_FILTER_-

FRAMERATE

with

Flix2_AddFilter()

implies use of the source frame rate. This function will be

removed in a future release.

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