mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
realdec: use gst_plugin_add_dependency()
This commit is contained in:
parent
c475d9c012
commit
96a42c80d9
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue