Gnash
0.8.10
|
#include <VideoFrameTag.h>
Static Public Member Functions | |
static void | loader (SWFStream &in, SWF::TagType tag, movie_definition &m, const RunResources &r) |
Read tag SWF::VIDEOFRAME. |
void gnash::SWF::VideoFrameTag::loader | ( | SWFStream & | in, |
SWF::TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | r | ||
) | [static] |
Read tag SWF::VIDEOFRAME.
The DisplayObject_id (used to find this instance in the DisplayObject's dictionary) is assumed to have been already read. This function is allowed to be called zero or more times, as long as a DefineVideoStreamTag was read before.
References assert, gnash::SWF::VIDEOFRAME, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), gnash::movie_definition::getDefinitionTag(), IF_VERBOSE_MALFORMED_SWF, _, gnash::typeName(), gnash::SWF::DefineVideoStreamTag::getVideoInfo(), gnash::media::VideoInfo::codec, gnash::media::VIDEO_CODEC_SCREENVIDEO, gnash::SWFStream::read_u8(), gnash::SWFStream::get_tag_end_position(), gnash::SWFStream::tell(), gnash::SWFStream::read(), and gnash::SWF::DefineVideoStreamTag::addVideoFrameTag().
Referenced by gnash::SWF::addDefaultLoaders().