omxvideodec: Fix coding style in the drain-may-not-return hack code
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 30 Apr 2012 23:19:55 +0000 (23:19 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 3 May 2012 10:20:05 +0000 (12:20 +0200)
omx/gstomxvideodec.c

index c9bddf6..4f729a1 100644 (file)
@@ -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");