omx: minor stylistic change for consistency with other similar code

This commit is contained in:
Josep Torra 2013-03-16 10:13:06 +01:00
parent a5778efe16
commit 8231c9068e

View file

@ -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 {