[calls] media-manager: Don't run deinitialize GStreamer in finalize()
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] media-manager: Don't run deinitialize GStreamer in finalize()
- Date: Wed, 2 Mar 2022 07:27:13 +0000 (UTC)
commit a99755424f93280d2ae29607f56a8678c737a055
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Tue Mar 1 12:47:46 2022 +0100
media-manager: Don't run deinitialize GStreamer in finalize()
This makes running tests harder as we cannot call gst_init() after gst_deinit()
has been called.
This is what the API reference has to say about it at
https://gstreamer.freedesktop.org/documentation/gstreamer/gst.html?gi-language=c#gst_deinit
It is normally not needed to call this function in a normal application as the
resources will automatically be freed when the program terminates. This function
is therefore mostly used by testsuites and other memory profiling tools.
plugins/sip/calls-sip-media-manager.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/plugins/sip/calls-sip-media-manager.c b/plugins/sip/calls-sip-media-manager.c
index 7429bdd9..76b17d7d 100644
--- a/plugins/sip/calls-sip-media-manager.c
+++ b/plugins/sip/calls-sip-media-manager.c
@@ -136,7 +136,6 @@ static void
calls_sip_media_manager_finalize (GObject *object)
{
CallsSipMediaManager *self = CALLS_SIP_MEDIA_MANAGER (object);
- gst_deinit ();
g_list_free (self->preferred_codecs);
g_object_unref (self->settings);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]