mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2025-12-26 22:55:37 +00:00
spicy: Add call of gst_deinit at program exit
This is useful for some instrumentation, e.g. the leaks tracer, that perform some of their operations within gst_deinit. Without this patch, if you run spicy with GST_DEBUG="GST_TRACER:7" GST_TRACERS="leaks" spicy ... the leak tracer does not show any output, because it runs in gst_deinit. Signed-off-by: Christophe de Dinechin <dinechin@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
26c126335e
commit
0381e62141
@ -2068,5 +2068,8 @@ int main(int argc, char *argv[])
|
||||
g_free(spicy_title);
|
||||
|
||||
setup_terminal(true);
|
||||
#if HAVE_GSTAUDIO || HAVE_GSTVIDEO
|
||||
gst_deinit();
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user