[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix AV desync by using the first input timestamp
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Mar 25 23:07:57 CET 2015
Himangi Saraogi <himangi774 <at> gmail.com> writes:
> - frame->pts = outlink->frame_count * s->ts_unit;
> + frame->pts = s->start_time + outlink->frame_count * s->ts_unit;
I believe this should be:
frame->pts = s->start_time != AV_NOPTS_VALUE ? s->start_time : 0 +
outlink->frame_count * s->ts_unit;
possibly with a different formatting...
Carl Eugen
More information about the ffmpeg-devel
mailing list