Flix2_isencoderrunning() – Google Flix Engine Linux Reference Manual User Manual
Page 169

5.38 Main Engine Interface
163
5.38.2.14
on2sc Flix2_GetSourceDuration (const FLIX2HANDLE flix, int32_t ∗ duration)
Get the duration, in milliseconds, of the source file.
Parameters:
← flix Handle to the flix engine returned from
or
→ duration Storage location to receive the result
Return values:
on success
should one or more of the preconditions fail
the underlying communication layer failed
Precondition:
flix
is not NULL
duration
is not NULL
Note:
This value is only valid after a call to
. If the duration for the file could not be
determined duration will be set to -1.
5.38.2.15
on2sc Flix2_IsEncoderRunning (const FLIX2HANDLE flix, on2bool ∗
bpIsEncoderRunning)
Check the status of an encode.
Returns whether an encode session started with
is still running. If the function returns
the completion status can be obtained by calling
Parameters:
← flix Handle to the flix engine returned from
or
→ bpIsEncoderRunning Storage location to receive the result
Return values:
on success
should the precondition fail
the underlying communication layer failed
Precondition:
flix
is not NULL
5.38.2.16
on2sc Flix2_Reset (FLIX2HANDLE flix)
Reset the engine to its defaults.
Resets all encoding related options to their default values. Input and output files are retained.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen