mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
v4l2videodec: Fix use of atomic value
This commit is contained in:
parent
45b322c2db
commit
c9dcc63eb8
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ gst_v4l2_video_dec_finish (GstVideoDecoder * decoder)
|
|||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
GstBuffer *buffer;
|
||||
|
||||
if (!self->processing)
|
||||
if (!g_atomic_int_get (&self->processing))
|
||||
goto done;
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Finishing decoding");
|
||||
|
|
Loading…
Reference in a new issue