Add pts which will be scaled to AV_TIME_BASE_Q

This commit is contained in:
Isaac Connor
2021-03-01 13:51:32 -05:00
parent 6e73c08a21
commit 05e7d76ccd

View File

@@ -49,6 +49,7 @@ class ZMPacket {
AVMediaType codec_type;
int image_index;
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:
AVPacket *av_packet() { return &packet; }