aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-08-25 13:08:10 +0200
committerPaul B Mahol <onemda@gmail.com>2021-11-18 12:54:17 +0100
commite5367b481b5232182a4851dbd7fc5a7a5bd475de (patch)
tree60641b4ff9adf45fadf4dccd2704402492a7f2f3 /fftools/ffmpeg.h
parent85a6b7f7b746a7bf71146b1530f19f699c4f0fb4 (diff)
downloadffmpeg-e5367b481b5232182a4851dbd7fc5a7a5bd475de.tar.gz
ffmpeg: fix loosing gaps between audio frame timestamps when filtering
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 30225e9ffe..545ff1c8e7 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -314,6 +314,7 @@ typedef struct InputStream {
AVFrame *filter_frame; /* a ref of decoded_frame, to be sent to filters */
AVPacket *pkt;
+ int64_t prev_pkt_pts;
int64_t start; /* time when read started */
/* predicted dts of the next packet read for this stream or (when there are
* several frames in a packet) of the next frame in current packet (in AV_TIME_BASE units) */