Fixed automatic bitrate detection on weird timebases