av_estimate_timings_from_pts() flushes the packet queue but doesn't