Classes | Public Member Functions | Public Attributes

gnash::media::VideoInfo Class Reference

Information about a video stream. More...

#include <MediaParser.h>

List of all members.


class  ExtraInfo
 Extra info about a video stream. More...

Public Member Functions

 VideoInfo (int codeci, boost::uint16_t widthi, boost::uint16_t heighti, boost::uint16_t frameRatei, boost::uint64_t durationi, codecType typei)
 Construct a VideoInfo object.

Public Attributes

int codec
boost::uint16_t width
boost::uint16_t height
boost::uint16_t frameRate
boost::uint64_t duration
codecType type
std::auto_ptr< ExtraInfoextra
 Extra info about video stream, if when needed.

Detailed Description

Information about a video stream.

The information stored is codec-id, width, height, framerate and duration.

Additionally, an abstract ExtraInfo can be hold.

Constructor & Destructor Documentation

gnash::media::VideoInfo::VideoInfo ( int  codeci,
boost::uint16_t  widthi,
boost::uint16_t  heighti,
boost::uint16_t  frameRatei,
boost::uint64_t  durationi,
codecType  typei 
) [inline]

Construct a VideoInfo object.

codeci Video codec id. To be interpreted as a media::videoCodecType if the typei parameter is FLASH; otherwise it's an opaque number to use for codec information transfer between a MediaParser and a VideoDecoder from the same media handler module.
widthi Video frame width.
check if still needed.
heighti Video frame height.
check if still needed.
frameRatei Nominal video frame rate.
document units.
durationi Nominal video duration.
check if still needed, if so document units!
typei Changes interpretation of the codeci parameter.

Member Data Documentation

Extra info about video stream, if when needed.

Could be ExtraAudioInfoFlv or a media-handler specific info

Referenced by gnash::media::ffmpeg::VideoDecoderFfmpeg::VideoDecoderFfmpeg().

The documentation for this class was generated from the following file: