From 9c50ed92e8bc88f1375afe128bf31f23d021b5f0 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/baa698c1b8b5d82d5e22b4592cbf2346fec3b2fd Author: [CST] Focus Date: 2013-03-19 (Tue, 19 Mar 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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() {