summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-06-10 14:38:32 +0200
committerAnton Khirnov <anton@khirnov.net>2022-07-23 11:53:19 +0200
commitb2b9e9ccee0647b4695edaa66ae824850260ee02 (patch)
tree0aad2aaf2bd905bd76306c9780f1d2e78ff5e7f6 /fftools/ffmpeg_opt.c
parentd55b8dbcff41cac22f593c461576a9c7f6d3f270 (diff)
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_opt.c')
-rw-r--r--fftools/ffmpeg_opt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 2998e00546..db8ec33cde 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1721,6 +1721,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
input_streams[source_index]->st->discard = input_streams[source_index]->user_set_discard;
}
ost->last_mux_dts = AV_NOPTS_VALUE;
+ ost->last_filter_pts = AV_NOPTS_VALUE;
return ost;
}