From 0b7568fd83a605982a173a76af05da768e02af70 Mon Sep 17 00:00:00 2001 From: doursse Date: Sun, 2 Apr 2006 14:36:54 +0000 Subject: [PATCH] segfault when cdiocddasrc element is missing fixed. We need it for cd audio. SVN revision: 21737 --- legacy/emotion/src/modules/emotion_gstreamer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/emotion/src/modules/emotion_gstreamer.c b/legacy/emotion/src/modules/emotion_gstreamer.c index 867c1f8fb7..0b744cbdce 100644 --- a/legacy/emotion/src/modules/emotion_gstreamer.c +++ b/legacy/emotion/src/modules/emotion_gstreamer.c @@ -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; }