mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-04 13:20:01 +01:00
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:
@@ -314,6 +314,9 @@ typedef struct OutputFilter {
|
||||
const int *formats;
|
||||
const AVChannelLayout *ch_layouts;
|
||||
const int *sample_rates;
|
||||
|
||||
/* pts of the last frame received from this filter, in AV_TIME_BASE_Q */
|
||||
int64_t last_pts;
|
||||
} OutputFilter;
|
||||
|
||||
typedef struct FilterGraph {
|
||||
@@ -573,8 +576,6 @@ typedef struct OutputStream {
|
||||
AVStream *st; /* stream in the output file */
|
||||
/* dts of the last packet sent to the muxing queue, in AV_TIME_BASE_Q */
|
||||
int64_t last_mux_dts;
|
||||
/* pts of the last frame received from the filters, in AV_TIME_BASE_Q */
|
||||
int64_t last_filter_pts;
|
||||
|
||||
// timestamp from which the streamcopied streams should start,
|
||||
// in AV_TIME_BASE_Q;
|
||||
|
||||
Reference in New Issue
Block a user