#include <Packet.h>
QtAV::Packet::~Packet |
( |
| ) |
|
QtAV::Packet::Packet |
( |
const Packet & |
other | ) |
|
const AVPacket* QtAV::Packet::asAVPacket |
( |
| ) |
const |
asAVPacket If Packet is constructed from AVPacket, then data and properties are the same as that AVPacket.
Otherwise, Packet's data and properties are used and no side data. Packet takes the owner ship. time unit is always ms even constructed from AVPacket.
static Packet QtAV::Packet::createEOF |
( |
| ) |
|
|
static |
static Packet QtAV::Packet::fromAVPacket |
( |
const AVPacket * |
avpkt, |
|
|
double |
time_base |
|
) |
| |
|
static |
static bool QtAV::Packet::fromAVPacket |
( |
Packet * |
pkt, |
|
|
const AVPacket * |
avpkt, |
|
|
double |
time_base |
|
) |
| |
|
static |
bool QtAV::Packet::isEOF |
( |
| ) |
const |
bool QtAV::Packet::isValid |
( |
| ) |
const |
|
inline |
void QtAV::Packet::skip |
( |
int |
bytes | ) |
|
skip Skip bytes of packet data.
User has to update pts, dts etc to new values. Useful for asAVPakcet(). When asAVPakcet() is called, AVPacket->pts/dts will be updated to new values.
QByteArray QtAV::Packet::data |
qreal QtAV::Packet::duration |
bool QtAV::Packet::hasKeyFrame |
bool QtAV::Packet::isCorrupt |
qint64 QtAV::Packet::position |
The documentation for this class was generated from the following file: