forked from enlightenment/efl
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
This commit is contained in:
parent
782e77d9ae
commit
e65023bf1d
|
@ -303,7 +303,6 @@ em_init(Evas_Object *obj,
|
|||
gst_element_set_state (ev->pipeline, GST_STATE_NULL);
|
||||
gst_object_unref (GST_OBJECT (ev->pipeline));
|
||||
failure_pipeline:
|
||||
gst_deinit ();
|
||||
failure_gstreamer:
|
||||
free (ev);
|
||||
|
||||
|
@ -322,7 +321,6 @@ em_shutdown(void *video)
|
|||
gst_element_set_state (ev->pipeline, GST_STATE_NULL);
|
||||
gst_object_unref (GST_OBJECT (ev->pipeline));
|
||||
gst_object_unref (GST_OBJECT (ev->eos_bus));
|
||||
gst_deinit ();
|
||||
|
||||
ecore_list_destroy (ev->video_sinks);
|
||||
ecore_list_destroy (ev->audio_sinks);
|
||||
|
|
Loading…
Reference in New Issue