stream_encoder: Set up advance method in vtab