mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
omx: minor stylistic change for consistency with other similar code
This commit is contained in:
parent
a5778efe16
commit
8231c9068e
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue