summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Kumar <kr.ashish@samsung.com>2018-01-19 15:18:23 +0530
committerTim-Philipp Müller <tim@centricular.com>2018-01-19 10:16:36 +0000
commitfdf3b39dd4d634297c9a2effaea00f4dd0e71c52 (patch)
tree457579f5f9f0fa09bbefa2d43a2bb0a3f7548d4b
parent5fa96cab7bf92d6840ab1c69824a94009acec2fc (diff)
downloadgst-omx-fdf3b39dd4d634297c9a2effaea00f4dd0e71c52.tar.gz
TestEgl: Removed redundant/unused code
https://bugzilla.gnome.org/show_bug.cgi?id=788550
-rw-r--r--examples/egl/testegl.c9
1 files changed, 0 insertions, 9 deletions
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,