v4l2videodec: Fix use of atomic value
This commit is contained in:
parent
45b322c2db
commit
c9dcc63eb8
@ -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…
x
Reference in New Issue
Block a user