diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-06-10 14:38:32 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-23 11:53:19 +0200 |
commit | b2b9e9ccee0647b4695edaa66ae824850260ee02 (patch) | |
tree | 0aad2aaf2bd905bd76306c9780f1d2e78ff5e7f6 /fftools/ffmpeg.h | |
parent | d55b8dbcff41cac22f593c461576a9c7f6d3f270 (diff) | |
download | ffmpeg-b2b9e9ccee0647b4695edaa66ae824850260ee02.tar.gz |
fftools/ffmpeg: use last filter output pts to choose next output stream
This will be needed in following commits that will add new buffering
stages after encoding and bitstream filtering.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index ecceedbd90..7ff303e370 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -470,6 +470,8 @@ typedef struct OutputStream { int64_t first_pts; /* dts of the last packet sent to the muxer */ int64_t last_mux_dts; + /* pts of the last frame received from the filters, in AV_TIME_BASE_Q */ + int64_t last_filter_pts; // the timebase of the packets sent to the muxer AVRational mux_timebase; AVRational enc_timebase; |