mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
|
|
||||||
if (!self->processing)
|
if (!g_atomic_int_get (&self->processing))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Finishing decoding");
|
GST_DEBUG_OBJECT (self, "Finishing decoding");
|
||||||
|
|
Loading…
Reference in a new issue