Gnash
0.8.10
|
Haiku media kit based MediaParser. More...
#include <MediaParserHaiku.h>
Public Member Functions | |
MediaParserHaiku (std::auto_ptr< IOChannel > stream) | |
Construct a haiku media kit based media parser for given stream. | |
~MediaParserHaiku () | |
virtual bool | seek (boost::uint32_t &) |
Seeks to the closest possible position the given position, and returns the new position. | |
virtual bool | parseNextChunk () |
Parse next chunk of input. | |
virtual boost::uint64_t | getBytesLoaded () const |
Return number of bytes parsed so far. |
Haiku media kit based MediaParser.
gnash::media::haiku::MediaParserHaiku::MediaParserHaiku | ( | std::auto_ptr< IOChannel > | stream | ) |
Construct a haiku media kit based media parser for given stream.
Can throw a GnashException if input format couldn't be detected
References QQ.
gnash::media::haiku::MediaParserHaiku::~MediaParserHaiku | ( | ) |
References QQ.
boost::uint64_t gnash::media::haiku::MediaParserHaiku::getBytesLoaded | ( | ) | const [virtual] |
bool gnash::media::haiku::MediaParserHaiku::parseNextChunk | ( | ) | [virtual] |
Parse next chunk of input.
The implementations are required to parse a small chunk of input, so to avoid blocking too much if parsing conditions change (ie: seek or destruction requested)
When LOAD_MEDIA_IN_A_SEPARATE_THREAD is defined, this should never be called by users (consider protected).
Implements gnash::media::MediaParser.
References QQ.
bool gnash::media::haiku::MediaParserHaiku::seek | ( | boost::uint32_t & | time | ) | [virtual] |
Seeks to the closest possible position the given position, and returns the new position.
time | input/output parameter, input requests a time, output return the actual time seeked to. |
Implements gnash::media::MediaParser.
References QQ.