function MovieRecordingProgress_OnUpdate(self, elapsed)
	if not MovieRecording_IsCompressing() then
		self:Hide();
	else
		local recovering, progress = MovieRecording_GetProgress();
		MovieProgressBar:SetValue(progress);
		MovieProgressBarText:SetText(MOVIE_RECORDING_COMPRESSING.." "..floor(progress * 100).."%");
	end
end


