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)