make sure recording is start at the begining of AVFrame