It's none of those things, most likely it is a duff speed sensor, these give a reading to the ecu when you are above a certain speed for better gearchanges they keep the revs around 1500 whilst changing, if one is duff it is having to wait for other info that it is actually stopped and idling, if you stop quick enough you can catch them out as well.
tabetha