Minor code path improvement. Since EncodeFrame() will try to stop the debug timer if the encode is finished, it doesn't make sense to always start it unconditionally after calling EncodeFrame().