From 05e7d76ccdcaf99d8129018cb3b21da28e7197bc Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 1 Mar 2021 13:51:32 -0500 Subject: [PATCH] Add pts which will be scaled to AV_TIME_BASE_Q --- src/zm_packet.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zm_packet.h b/src/zm_packet.h index ea609429f..6b567bc4e 100644 --- a/src/zm_packet.h +++ b/src/zm_packet.h @@ -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; }