From 628bad50060be41b802c69d9993c704c59bdce6c Mon Sep 17 00:00:00 2001 From: jojo61 Date: Thu, 7 May 2020 13:21:26 +0200 Subject: [PATCH] Fix Build without PIP --- softhddev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/softhddev.c b/softhddev.c index 8d26b31..9b46b32 100644 --- a/softhddev.c +++ b/softhddev.c @@ -3397,10 +3397,12 @@ void GetStats(int *missed, int *duped, int *dropped, int *counter, float *framet */ void ScaleVideo(int x, int y, int width, int height) { +#ifdef USE_PIP if (PiPActive && !(x & y & width & height)) { Info("[softhddev]%s: fullscreen with PiP active.\n", __FUNCTION__); x = mwx; y = mwy; width = mww; height = mwh; } +#endif if (MyVideoStream->HwDecoder) { VideoSetOutputPosition(MyVideoStream->HwDecoder, x, y, width, height); }