summaryrefslogtreecommitdiffstats
path: root/gst/real
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-02-28 23:47:02 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-01 00:03:50 +0000
commit96a42c80d9b1c31543f1575396eba746dec999c3 (patch)
treeda832eb3aec6f9bd82c239d89eae4791bffff819 /gst/real
parentc475d9c012dee71bfb49bb25b2e17a4001ed0a32 (diff)
downloadgst-plugins-bad-96a42c80d9b1c31543f1575396eba746dec999c3.tar.gz
gst-plugins-bad-96a42c80d9b1c31543f1575396eba746dec999c3.tar.bz2
gst-plugins-bad-96a42c80d9b1c31543f1575396eba746dec999c3.zip
realdec: use gst_plugin_add_dependency()
Diffstat (limited to 'gst/real')
-rw-r--r--gst/real/gstreal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/real/gstreal.c b/gst/real/gstreal.c
index f2455fd2..80595a90 100644
--- a/gst/real/gstreal.c
+++ b/gst/real/gstreal.c
@@ -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;
}