mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
small change QuadPiP
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user