CScreenShot: fix build

Some lines were wrong picked
This commit is contained in:
2017-10-27 22:35:42 +02:00
parent b5639c164a
commit b26fc7fb8d
4 changed files with 24 additions and 23 deletions

View File

@@ -23,6 +23,10 @@
#ifndef __screenshot_h_
#define __screenshot_h_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <pthread.h>
class CScreenShot
@@ -77,10 +81,10 @@ class CScreenShot
void EnableVideo(bool enable) { get_video = enable; }
void EnableOSD(bool enable) { get_osd = enable; }
void ScaleToVideo(bool enable) { scale_to_video = enable; }
#if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE
bool Start(const std::string custom_cmd = "");
#else
#if HAVE_COOL_HARDWARE
bool Start();
#else
bool Start(const std::string custom_cmd = "");
#endif
bool StartSync();
};