encoder: move output queue from h264 to base
encoder: move reorder to h264 since vp8 do not need it