fftools/ffmpeg: move OutputStream.last_filter_pts to OutputFilter

This value is associated with the filtergraph output rather than the
output stream, so this is a more appropriate place for it.
This commit is contained in:
Anton Khirnov
2023-03-27 08:12:14 +02:00
parent 83da6d3f54
commit fd91ac11ed
4 changed files with 22 additions and 13 deletions

View File

@@ -649,7 +649,6 @@ static OutputStream *new_output_stream(Muxer *mux, const OptionsContext *o,
ost->ist->st->discard = ost->ist->user_set_discard;
}
ost->last_mux_dts = AV_NOPTS_VALUE;
ost->last_filter_pts = AV_NOPTS_VALUE;
MATCH_PER_STREAM_OPT(copy_initial_nonkeyframes, i,
ost->copy_initial_nonkeyframes, oc, st);