Fix fast forward/fast backward
by solving a race on the m_outputFrames queue