1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

Fix Build without PIP

This commit is contained in:
jojo61 2020-05-07 13:21:26 +02:00
parent cb466dd894
commit 628bad5006

View File

@ -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);
}