qroverlay: fix updating "data" property in qroverlay element

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5175>
This commit is contained in:
Marcin Kolny 2023-08-11 12:03:59 +00:00 committed by GStreamer Marge Bot
parent ba61160d6c
commit 3c32ef4854

View file

@ -115,7 +115,7 @@ get_qrcode_content (GstBaseQROverlay * base, GstBuffer * buf,
GST_OBJECT_LOCK (self);
content = g_strdup (self->data);
*reuse_prev = self->data_changed;
*reuse_prev = !self->data_changed;
self->data_changed = FALSE;
GST_OBJECT_UNLOCK (self);