40 "NB_CONSUMED_SAMPLES",
126 #define D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d))
127 #define TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts))
128 #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb))
139 #define d2istr(v) double2int64str((char[BUF_SIZE]){0}, v)
144 int64_t in_pts = frame->
pts;
156 switch (inlink->
type) {
169 "N:%"PRId64
" PTS:%s T:%f POS:%s",
174 switch (inlink->
type) {
207 #if CONFIG_ASETPTS_FILTER
208 static const AVFilterPad avfilter_af_asetpts_inputs[] = {
219 static const AVFilterPad avfilter_af_asetpts_outputs[] = {
233 .
inputs = avfilter_af_asetpts_inputs,
234 .
outputs = avfilter_af_asetpts_outputs,
238 #if CONFIG_SETPTS_FILTER
239 static const AVFilterPad avfilter_vf_setpts_inputs[] = {
250 static const AVFilterPad avfilter_vf_setpts_outputs[] = {
266 .
inputs = avfilter_vf_setpts_inputs,
267 .
outputs = avfilter_vf_setpts_outputs,