Original commit message from CVS: Keep different counters for audio and video.
Original commit message from CVS: Initial revision