small change QuadPiP

Origin commit data
------------------
Branch: master
Commit: 5be90e98da
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2021-10-15 (Fri, 15 Oct 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2021-10-15 14:54:57 +02:00
committed by vanhofen
parent e3eb0165c9
commit 60fb6a66c0

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)); proc_put(VMPEG_dst_apply[i], buffer, strlen(buffer));
} }
} else { } 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")); proc_put("/proc/stb/video/decodermode", "normal", strlen("normal"));
} }
} }