39 "NB_CONSUMED_SAMPLES",
120 #define D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d))
121 #define TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts))
122 #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb))
133 #define d2istr(v) double2int64str((char[BUF_SIZE]){0}, v)
138 int64_t in_pts = frame->
pts;
149 switch (inlink->
type) {
162 "N:%"PRId64
" PTS:%s T:%f POS:%s",
167 switch (inlink->
type) {
200 #if CONFIG_ASETPTS_FILTER
201 static const AVFilterPad avfilter_af_asetpts_inputs[] = {
212 static const AVFilterPad avfilter_af_asetpts_outputs[] = {
226 .
inputs = avfilter_af_asetpts_inputs,
227 .
outputs = avfilter_af_asetpts_outputs,
231 #if CONFIG_SETPTS_FILTER
232 static const AVFilterPad avfilter_vf_setpts_inputs[] = {
243 static const AVFilterPad avfilter_vf_setpts_outputs[] = {
259 .
inputs = avfilter_vf_setpts_inputs,
260 .
outputs = avfilter_vf_setpts_outputs,