diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 82ddb14..3c7c950 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -900,13 +900,9 @@ int cVideo::getBlank(void) } #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUDUO4KSE || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K -void cVideo::QuadPiP(bool active) +void cVideo::QuadPiP(bool active, int _x, int _y, int _w, int _h) { char buffer[64]; - int _x = 0; - int _y = 0; - int _w = 360; - int _h = 288; int _a = 1; if (active) { proc_put("/proc/stb/video/decodermode", "mosaic", strlen("mosaic")); diff --git a/libarmbox/video_lib.h b/libarmbox/video_lib.h index 3cc5db7..9558de3 100644 --- a/libarmbox/video_lib.h +++ b/libarmbox/video_lib.h @@ -275,7 +275,7 @@ class cVideo void SetVideoMode(analog_mode_t mode); #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUDUO4KSE || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K - void QuadPiP(bool active = false); + void QuadPiP(bool active = false, int _x = 0, int _y = 0, int _w = 360, int _h = 288); #endif void SetDBDR(int)