mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
omxvideodec: Fix coding style in the drain-may-not-return hack code
This commit is contained in:
parent
34a83c184e
commit
4aa3fa8a0d
1 changed files with 2 additions and 2 deletions
|
@ -1399,8 +1399,8 @@ gst_omx_video_dec_drain (GstOMXVideoDec * self)
|
|||
gst_omx_port_release_buffer (self->in_port, buf);
|
||||
GST_DEBUG_OBJECT (self, "Waiting until component is drained");
|
||||
|
||||
if (G_UNLIKELY(self->component->hacks & GST_OMX_HACK_DRAIN_MAY_NOT_RETURN)) {
|
||||
GTimeVal tv = { .tv_sec = 0, .tv_usec = 500000 };
|
||||
if (G_UNLIKELY (self->component->hacks & GST_OMX_HACK_DRAIN_MAY_NOT_RETURN)) {
|
||||
GTimeVal tv = {.tv_sec = 0,.tv_usec = 500000 };
|
||||
|
||||
if (!g_cond_timed_wait (self->drain_cond, self->drain_lock, &tv))
|
||||
GST_WARNING_OBJECT (self, "Drain timed out");
|
||||
|
|
Loading…
Reference in a new issue