From cf190855c75452ec05c1ea85a0734c581fb36e9a Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Wed, 8 Nov 2017 11:00:48 +0100 Subject: [PATCH] - movieplayer: fix screenshot function Signed-off-by: Thilo Graf --- src/gui/movieplayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 4412e878d..8a91f148c 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -3441,6 +3441,9 @@ void CMoviePlayerGui::makeScreenShot(bool autoshot, bool forcover) if (autoshot && (autoshot_done || !g_settings.auto_cover)) return; +#ifndef SCREENSHOT + (void)forcover; // avoid compiler warning +#else bool cover = autoshot || g_settings.screenshot_cover || forcover; char ending[(sizeof(int)*2) + 6] = ".jpg"; if (!cover) @@ -3490,9 +3493,6 @@ void CMoviePlayerGui::makeScreenShot(bool autoshot, bool forcover) sc->SetSize(w, h); } } -#if HAVE_SPARK_HARDWARE - sc->Start("-r 320 -j 75"); -#else sc->Start(); #endif if (autoshot)