for bug #248, use simple buffer for hls.