segfault when cdiocddasrc element is missing fixed. We need it for cd audio.
authordoursse <doursse>
Sun, 2 Apr 2006 14:36:54 +0000 (14:36 +0000)
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 2 Apr 2006 14:36:54 +0000 (14:36 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@21737 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/emotion_gstreamer.c

index 867c1f8..0b744cb 100644 (file)
@@ -1510,7 +1510,7 @@ static int _cdda_pipeline_build (void *video, const char * device, unsigned int
 
    cdiocddasrc = gst_element_factory_make ("cdiocddasrc", "src");
    if (!cdiocddasrc) {
-     gst_object_unref (GST_OBJECT (ev->pipeline));
+     g_print ("cdiocddasrc element missing. Install it.\n");
      return 0;
    }