mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
glimagesink: silence gsignal warning
instance '0xblah' has no handler with id '13'
This commit is contained in:
parent
b1e821f731
commit
e6d5dd04d5
1 changed files with 9 additions and 2 deletions
|
@ -1230,11 +1230,18 @@ gst_glimage_sink_on_draw (GstGLImageSink * gl_sink)
|
|||
static void
|
||||
gst_glimage_sink_on_close (GstGLImageSink * gl_sink)
|
||||
{
|
||||
GstGLWindow *window;
|
||||
|
||||
gst_gl_context_set_error (gl_sink->context, "Output window was closed");
|
||||
|
||||
window = gst_gl_context_get_window (gl_sink->context);
|
||||
|
||||
g_signal_handler_disconnect (window, gl_sink->key_sig_id);
|
||||
g_signal_handler_disconnect (window, gl_sink->mouse_sig_id);
|
||||
|
||||
g_atomic_int_set (&gl_sink->to_quit, 1);
|
||||
g_signal_handler_disconnect (gl_sink, gl_sink->key_sig_id);
|
||||
g_signal_handler_disconnect (gl_sink, gl_sink->mouse_sig_id);
|
||||
|
||||
gst_object_unref (window);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue