From: Ashish Kumar Date: Fri, 19 Jan 2018 09:48:23 +0000 (+0530) Subject: TestEgl: Removed redundant/unused code X-Git-Tag: 1.16.2~134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdf3b39dd4d634297c9a2effaea00f4dd0e71c52;p=platform%2Fupstream%2Fgst-omx.git TestEgl: Removed redundant/unused code https://bugzilla.gnome.org/show_bug.cgi?id=788550 --- diff --git a/examples/egl/testegl.c b/examples/egl/testegl.c index 5316c95..1ee03d4 100644 --- a/examples/egl/testegl.c +++ b/examples/egl/testegl.c @@ -967,15 +967,6 @@ handle_queued_objects (APP_STATE_T * state) if (!SYNC_BUFFERS) { object = NULL; } - } else if (GST_IS_QUERY (object)) { - GstQuery *query = GST_QUERY_CAST (object); - GstStructure *s = (GstStructure *) gst_query_get_structure (query); - - if (gst_structure_has_name (s, "not-used")) { - g_assert_not_reached (); - } else { - g_assert_not_reached (); - } } else if (GST_IS_EVENT (object)) { GstEvent *event = GST_EVENT_CAST (object); g_print ("\nevent %p %s\n", event,