
5.17 Encoding Statistics 75
5.17.1.9 on2sc encoding_status_PercentComplete (const FLIX2HANDLE flix, int32_t ∗ percent)
Retrieve the percent of the encode complete.
Percent is returned as a whole number, e.g. 45.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
→ percent Storage location to receive the result
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should one or more of the preconditions fail
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
percent is not NULL
Note:
If Flix2_GetSourceDuration() returns -1, percent complete will remain 0 until the first pass of the
encode completes.
This value is only valid after Flix2_Encode() has been called.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji