Add pts which will be scaled to AV_TIME_BASE_Q
parent
6e73c08a21
commit
05e7d76ccd
|
@ -49,6 +49,7 @@ class ZMPacket {
|
||||||
AVMediaType codec_type;
|
AVMediaType codec_type;
|
||||||
int image_index;
|
int image_index;
|
||||||
int codec_imgsize;
|
int codec_imgsize;
|
||||||
|
int64_t pts; // pts in the packet can be in another time base. This MUST be in AV_TIME_BASE_Q
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AVPacket *av_packet() { return &packet; }
|
AVPacket *av_packet() { return &packet; }
|
||||||
|
|
Loading…
Reference in New Issue