Flix2_getencoderstate(), Flix2_getexportaudio, Flix2 – Google Flix Engine Linux Reference Manual User Manual
Page 165: Getencoderstate()
5.38 Main Engine Interface
159
5.38.2.6
on2sc Flix2_Errno (const FLIX2HANDLE flix, FE2_errno ∗ flixerrno, int32_t ∗ syserrno)
Retrieve the current error state of the engine.
If an API call has returned an error, this function can be used to retrieve a more specific reason.
Parameters:
← flix Handle to the flix engine returned from
or
→ flixerrno Storage location to receive the engine error
→ syserrno Storage location to receive the system wide error
Return values:
on success
should the precondition fail
the underlying communication layer failed
Precondition:
flix
is not NULL
Remarks:
syserrno
is the value of errno
If the last library status code was
flixerrno
will be the RPC clnt_stat returned
from same. enum clnt_stat values are defined in /usr/include/rpc/clnt.h.
5.38.2.7
on2sc Flix2_GetEncoderState (const FLIX2HANDLE flix, FE2_EncState ∗ pEncState)
Retrieve the current state of the encoder.
If using the function to check for encode completion: when
is returned, the completion status
can be obtained by calling
Parameters:
← flix Handle to the flix engine returned from
or
→ pEncState 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
pEncState
is not NULL
Remarks:
Linux Only:
if flixd was run with the -max-sessions option,
may be returned if
the number of concurrent encoding sessions was exceeded. This session will run in the order it was
received when a slot becomes available
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen