Name
FlushVideo -- flush video decoder (V5.0)
Synopsis
void FlushVideo(APTR handle);
Function
This function must flush the video decoder, i.e. it must reset itself to a clean state so that DecodeVideoFrame() can be fed a fresh packet without the risk of confusing the decoder because it was expecting a different packet. This function is called by Hollywood before seeking the video stream.

Depending on how flexible your decoder is, this function may not need to do anything at all.

This function must be implemented in a thread-safe way.

Inputs
handle
handle returned by OpenVideo()

Show TOC