qroverlay: Reset data_changed after we use the info

It was never reset so it was always TRUE once the data was changed!

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2299>
This commit is contained in:
Thibault Saunier 2022-03-07 15:44:04 +00:00 committed by GStreamer Marge Bot
parent 1b31a2af45
commit 4fd3886f5d

View file

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