From 8231c9068e1cb4bb8160afc439c0a9b99099f262 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Sat, 16 Mar 2013 10:13:06 +0100 Subject: omx: minor stylistic change for consistency with other similar code --- omx/gstomx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omx/gstomx.c b/omx/gstomx.c index 701ba6e..bfbcea1 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -840,7 +840,7 @@ gst_omx_component_get_state (GstOMXComponent * comp, GstClockTime timeout) if (!g_queue_is_empty (&comp->messages)) { signalled = TRUE; } - if (wait_until == -1) { + if (timeout == GST_CLOCK_TIME_NONE) { g_cond_wait (&comp->messages_cond, &comp->messages_lock); signalled = TRUE; } else { @@ -1520,7 +1520,7 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout, if (!g_queue_is_empty (&comp->messages)) { signalled = TRUE; } - if (wait_until == -1) { + if (timeout == GST_CLOCK_TIME_NONE) { g_cond_wait (&comp->messages_cond, &comp->messages_lock); signalled = TRUE; } else { -- cgit v1.2.1