Enlightenment CVS committal Author : doursse Project : e17 Module : libs/emotion
Dir : e17/libs/emotion/src/modules/gstreamer Modified Files: emotion_gstreamer.c Log Message: 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... =================================================================== RCS file: /cvs/e/e17/libs/emotion/src/modules/gstreamer/emotion_gstreamer.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- emotion_gstreamer.c 11 May 2008 18:52:29 -0000 1.1 +++ emotion_gstreamer.c 13 May 2008 20:50:34 -0000 1.2 @@ -303,7 +303,6 @@ 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 @@ 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); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs