bad: examples: fix unused res warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2095>
This commit is contained in:
Stéphane Cerveau 2022-04-01 15:00:01 +02:00 committed by GStreamer Marge Bot
parent dd27850a9a
commit e7f198a898

View file

@ -809,7 +809,7 @@ setup_pipeline (void)
change_mode_after = gst_util_get_timestamp ();
}
return TRUE;
return res;
error:
cleanup_pipeline ();
return FALSE;