realdec: use gst_plugin_add_dependency()

This commit is contained in:
Tim-Philipp Müller 2009-02-28 23:47:02 +00:00
parent c475d9c012
commit 96a42c80d9

View file

@ -22,6 +22,7 @@
#include "config.h"
#endif
#include "gstreal.h"
#include "gstrealvideodec.h"
#include "gstrealaudiodec.h"
@ -34,6 +35,10 @@ plugin_init (GstPlugin * p)
if (!gst_element_register (p, "realaudiodec", GST_RANK_SECONDARY,
GST_TYPE_REAL_AUDIO_DEC))
return FALSE;
gst_plugin_add_dependency_simple (p, NULL, DEFAULT_REAL_CODECS_PATH, NULL,
GST_PLUGIN_DEPENDENCY_FLAG_NONE);
return TRUE;
}