lib/imlib: Send stream events.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
iabdalkader 2025-09-11 11:06:05 +02:00
parent 0762ee1d6f
commit bd93ccd23d

View File

@ -29,6 +29,7 @@
#include "fmath.h"
#include "framebuffer.h"
#include "omv_boardconfig.h"
#include "omv_protocol.h"
// Main framebuffer memory
extern char _fb_memory_start;
@ -354,6 +355,8 @@ void framebuffer_update_preview(image_t *src) {
framebuffer_from_image(fb, &dst);
}
omv_protocol_send_event(OMV_PROTOCOL_CHANNEL_ID_STREAM, OMV_PROTOCOL_EVENT_NOTIFY, false);
exit_cleanup:
header->width = fb->w;
header->height = fb->h;