Add pts which will be scaled to AV_TIME_BASE_Q

pull/3186/head
Isaac Connor 2021-03-01 13:51:32 -05:00
parent 6e73c08a21
commit 05e7d76ccd
1 changed files with 1 additions and 0 deletions

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; }