diff options
-rw-r--r-- | ext/wayland/gstwaylandsink.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index b4d6f61a8..7cc4bbace 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -290,12 +290,6 @@ gst_wayland_sink_find_display (GstWaylandSink * sink) ("Failed to create GstWlDisplay: '%s'", error->message)); g_error_free (error); ret = FALSE; - } else { - /* inform the world about the new display */ - context = - gst_wayland_display_handle_context_new (sink->display->display); - msg = gst_message_new_have_context (GST_OBJECT_CAST (sink), context); - gst_element_post_message (GST_ELEMENT_CAST (sink), msg); } } } |