[FFmpeg-devel] [PATCH] do not let claculated dts jump back

Rainer Hochecker rainer.hochecker at onlinehome.de
Sat Feb 22 13:04:19 CET 2014

Joakim Plate <elupus <at> ecce.se> writes:

> Rainer Hochecker <rainer.hochecker <at> onlinehome.de> writes:
> > 
> > I am wondering if it's better to leave dts at AV_NOPTS_VALUE instead of
> > trying to calculate it. XBMC's player would be happy with this approach.
> > 
> > Rainer
> > 
> That can be done with setting the NOFILLIN flag. But i'd rather see this
> since being without dts breaks our continuity detection.
> Joakim

Maybe we should distinguish between

1) having no dts provided at all
2) dts is missing every now and than.

The latter we have problems with. This fools our continuity detection. There
may be a delay between dts and pts not related to num_reorder_frames. IMO
dts can't be caluculated for case 2) with looking at pts only.


More information about the ffmpeg-devel mailing list