summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-03-17 12:16:23 +0000
committerphintuka <phintuka>2009-03-17 12:16:23 +0000
commitd7407c3a331bb99ad7cdbf234bae1fe98c5b208a (patch)
treed42dc49d2e9ef9a957a65214ba5ff72c47c38a81
parentbdbf1a3866d1b9a58887dd6ef04b6bbad75a4111 (diff)
downloadxineliboutput-d7407c3a331bb99ad7cdbf234bae1fe98c5b208a.tar.gz
xineliboutput-d7407c3a331bb99ad7cdbf234bae1fe98c5b208a.tar.bz2
Init and wire OSD re-orderer
-rw-r--r--xine_frontend.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index c37d2042..ff98270f 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.96 2009-02-25 14:34:24 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.97 2009-03-17 12:16:23 phintuka Exp $
*
*/
@@ -35,6 +35,7 @@
#include "xine/vo_post.h"
#include "xine/vo_osdscaler.h"
+#include "xine/vo_osdreorder.h"
#undef MIN
#define MIN(a,b) ( (a) < (b) ? (a) : (b))
@@ -49,6 +50,12 @@ static void intercept_video_driver(xine_video_port_t *video_port)
LOGMSG("wire_video_driver() for osdscaler failed");
osdscaler->dispose(osdscaler);
}
+
+ vo_driver_t *osdreorder = osd_reorder_init();
+ if (! wire_video_driver(video_port, osdreorder)) {
+ LOGMSG("wire_video_driver() for osdreorder failed");
+ osdreorder->dispose(osdreorder);
+ }
}