small change QuadPiP

This commit is contained in:
BPanther
2021-10-06 17:39:14 +02:00
committed by Thilo Graf
parent fec3397707
commit 4e4dc96c7b

View File

@@ -919,6 +919,18 @@ void cVideo::QuadPiP(bool active, int _x, int _y, int _w, int _h)
proc_put(VMPEG_dst_apply[i], buffer, strlen(buffer));
}
} else {
for (unsigned int i = 0; i < 4; i++) {
sprintf(buffer, "%x", 0);
proc_put(VMPEG_dst_left[i], buffer, strlen(buffer));
sprintf(buffer, "%x", 0);
proc_put(VMPEG_dst_top[i], buffer, strlen(buffer));
sprintf(buffer, "%x", 0);
proc_put(VMPEG_dst_width[i], buffer, strlen(buffer));
sprintf(buffer, "%x", 0);
proc_put(VMPEG_dst_height[i], buffer, strlen(buffer));
sprintf(buffer, "%x", _a);
proc_put(VMPEG_dst_apply[i], buffer, strlen(buffer));
}
proc_put("/proc/stb/video/decodermode", "normal", strlen("normal"));
}
}