If transcoding, don't discard frames during a seek operation

This is necessary because trancoding uses a queue of frames, and frames
held in the queue can be reused and overwritten if DiscardFrames is
called.

See Ticket #11759