mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
validate-scenario: Fix wrong return value
We were always returning ok ... CID #1415484
This commit is contained in:
parent
3904f2523b
commit
4f1242968e
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ _execute_eos (GstValidateScenario * scenario, GstValidateAction * action)
|
|||
ret = gst_element_send_event (pipeline, gst_event_new_eos ());
|
||||
gst_object_unref (pipeline);
|
||||
|
||||
return ret ? GST_VALIDATE_EXECUTE_ACTION_OK : GST_VALIDATE_EXECUTE_ACTION_OK;
|
||||
return ret ? GST_VALIDATE_EXECUTE_ACTION_OK : GST_VALIDATE_EXECUTE_ACTION_ERROR;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in a new issue