Chapter 2 — Using the Filter Manager API 25Basic Filter Manager Methodssegments of a programmed pause/resume encode). This number is calculatedduring the Cue() process. It can be used in combination with the CurrentFrame-Count property to determine how much of the encode has been completed.CurrentFrameCount(long): (Get) While an encode is in progress, this propertyindicates the number of frames that have already been encoded by the primaryencoding process. It has no meaning if an encode is not currently running. Ifthis property is used to update a progress bar, it should be called in its ownseparate thread.Transcode: (Put) The transcoding feature is not yet supported, so this propertyshould be set to FALSE.Basic Filter Manager MethodsIn addition to methods designed to load and save encode parameters, the FilterManager interface offers eight basic methods that control the operation of theencoder. Each of these methods sets the value of result to report its success orfailure in carrying out the requested task. Generally speaking, if result is 0 orpositive when the method returns, then the method ended successfully. Negativevalues represent failure. The allowable state transitions for the Argus encoderare depicted in the following table:Allowable State TransitionsCurrent State Allowed Commands Resulting StateSuccess FailureStart StateInitialize() Initialized ExitExitInitializedReset() Reset state ExitExitReset State Cue() Cued InitializedCued Start() Started InitializedStartedPause() Paused InitializedEnd() or Stop() Initialized InitializedTable 2-2. Argus Allowable State Transitions