summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
diff options
context:
space:
mode:
authordoursse <doursse>2008-05-13 20:50:34 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2008-05-13 20:50:34 +0000
commite65023bf1d425ba64a697c14d7378094a2296203 (patch)
tree42cca38737441f23b19ecbfc94b47f5beff44f87 /legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
parent782e77d9ae3a7f3a7178d732f098b066d288f99a (diff)
Contrary to what gstremear's doc says, gst_deinit() does not clean what
gst_init() allocates. Hence, 2 calls of the couple gst_init() / gst_deinit() fail miserabily. Gstreamer's dev says that the exported function gst_deinit() should not be called, so let's remove it... SVN revision: 34560
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
index dd8a5a9563..f524fb439e 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
+++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c
@@ -303,7 +303,6 @@ em_init(Evas_Object *obj,
303 gst_element_set_state (ev->pipeline, GST_STATE_NULL); 303 gst_element_set_state (ev->pipeline, GST_STATE_NULL);
304 gst_object_unref (GST_OBJECT (ev->pipeline)); 304 gst_object_unref (GST_OBJECT (ev->pipeline));
305 failure_pipeline: 305 failure_pipeline:
306 gst_deinit ();
307 failure_gstreamer: 306 failure_gstreamer:
308 free (ev); 307 free (ev);
309 308
@@ -322,7 +321,6 @@ em_shutdown(void *video)
322 gst_element_set_state (ev->pipeline, GST_STATE_NULL); 321 gst_element_set_state (ev->pipeline, GST_STATE_NULL);
323 gst_object_unref (GST_OBJECT (ev->pipeline)); 322 gst_object_unref (GST_OBJECT (ev->pipeline));
324 gst_object_unref (GST_OBJECT (ev->eos_bus)); 323 gst_object_unref (GST_OBJECT (ev->eos_bus));
325 gst_deinit ();
326 324
327 ecore_list_destroy (ev->video_sinks); 325 ecore_list_destroy (ev->video_sinks);
328 ecore_list_destroy (ev->audio_sinks); 326 ecore_list_destroy (ev->audio_sinks);