Skip to content

Commit b8b1aff

Browse files
committed
Update OSD API
1 parent ee2ccb5 commit b8b1aff

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Arduino_package/hardware/libraries/Multimedia/src/VideoStreamOverlay.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,8 @@ void VideoStreamOverlay::update(int ch, int idx)
101101
{
102102
canvas_update(ch, idx, 1);
103103
}
104+
105+
void VideoStreamOverlay::update(int ch, int ready_to_update, int idx)
106+
{
107+
canvas_update(ch, idx, ready_to_update);
108+
}

Arduino_package/hardware/libraries/Multimedia/src/VideoStreamOverlay.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class VideoStreamOverlay {
4747
void drawRect(int ch, int xmin, int ymin, int xmax, int ymax, int line_width, uint32_t color, int idx = 0);
4848
void drawText(int ch, int xmin, int ymin, const char *text_string, uint32_t color, int idx = 0);
4949
void update(int ch, int idx = 0);
50+
void update(int ch, int ready_to_update, int idx = 0);
5051

5152
private:
5253
int ch_enable[3] = {0};

0 commit comments

Comments
 (0)