From baa698c1b8b5d82d5e22b4592cbf2346fec3b2fd Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 19 Mar 2013 17:23:45 +0400 Subject: [PATCH] driver/screenshot.cpp: re-enable StartSync() code --- src/driver/screenshot.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/driver/screenshot.cpp b/src/driver/screenshot.cpp index 111ef0e78..5b32b1e7a 100644 --- a/src/driver/screenshot.cpp +++ b/src/driver/screenshot.cpp @@ -127,8 +127,6 @@ void CScreenShot::run() } /* save file in sync mode, return true if save ok, or false */ -#if 0 -//never used bool CScreenShot::StartSync() { bool ret = false; @@ -139,7 +137,7 @@ bool CScreenShot::StartSync() printf("CScreenShot::StartSync: %s finished: %d\n", filename.c_str(), ret); return ret; } -#endif + /* save file in selected format, free data received from video decoder */ bool CScreenShot::SaveFile() {