segfault when cdiocddasrc element is missing fixed. We need it for cd audio.

SVN revision: 21737
This commit is contained in:
doursse 2006-04-02 14:36:54 +00:00 committed by doursse
parent 9390e25218
commit 0b7568fd83
1 changed files with 1 additions and 1 deletions

View 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;
}