mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
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:
parent
1b31a2af45
commit
4fd3886f5d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue