summaryrefslogtreecommitdiff
path: root/xine_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_frontend.c')
-rw-r--r--xine_frontend.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 874432d2..4a760297 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.81 2008-11-13 22:50:34 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.82 2008-11-13 23:10:16 phintuka Exp $
*
*/
@@ -521,6 +521,13 @@ static int fe_xine_init(frontend_t *this_gen, const char *audio_driver,
if(!this)
return 0;
+ /* check xine-lib version */
+ if(!xine_check_version(1, 1, 0)) {
+ LOGERR("xine-lib is too old, require at least xine library version 1.1.0\n");
+ return FE_ERROR;
+ }
+
+
/*
* init xine engine
*/