summaryrefslogtreecommitdiffstats
path: root/ext/xine/xine.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xine/xine.c')
-rw-r--r--ext/xine/xine.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/xine/xine.c b/ext/xine/xine.c
index f3bfb5ab..a465304f 100644
--- a/ext/xine/xine.c
+++ b/ext/xine/xine.c
@@ -153,7 +153,11 @@ gst_buffer_to_xine_buffer (buf_element_t *ret, GstBuffer *buffer)
static gboolean
plugin_init (GstPlugin *plugin)
{
- return gst_xine_audio_dec_init_plugin (plugin);
+ if (!gst_xine_input_init_plugin (plugin) ||
+ !gst_xine_audio_dec_init_plugin (plugin))
+ return FALSE;
+
+ return TRUE;
}
GST_PLUGIN_DEFINE (