Added VideoEncoder::HasBufferedFrames, changed semantics for GetBufferedFrames and updated x264 accordingly
Implemented encoder flushing for QSV