WIP: solve buffering problems in hd video recording

Change-Id: I19b94b9f4f8cf18f0a3f435d230d0978290c25a4