summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-11-13 23:32:42 +0000
committerphintuka <phintuka>2008-11-13 23:32:42 +0000
commit3bd06f23f41e20d4ac5d97b8b4af5c902c1c4053 (patch)
tree960ec4e6c1996f34eb767a129382bc17ed152078
parent22a456d7d7f106f6dfb8973862966d99fd8f38f6 (diff)
downloadxineliboutput-3bd06f23f41e20d4ac5d97b8b4af5c902c1c4053.tar.gz
xineliboutput-3bd06f23f41e20d4ac5d97b8b4af5c902c1c4053.tar.bz2
Use init_fe()
-rw-r--r--xine_sxfe_frontend.c27
1 files changed, 8 insertions, 19 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index 49a19ee2..fa9e2397 100644
--- a/xine_sxfe_frontend.c
+++ b/xine_sxfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_sxfe_frontend.c,v 1.94 2008-11-11 12:38:00 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.95 2008-11-13 23:32:42 phintuka Exp $
*
*/
@@ -1755,34 +1755,23 @@ static frontend_t *sxfe_get_frontend(void)
{
sxfe_t *this = calloc(1, sizeof(sxfe_t));
+ init_fe((fe_t*)this);
+
this->window_id = -1;
this->fe.fe_display_open = sxfe_display_open;
this->fe.fe_display_config = sxfe_display_config;
this->fe.fe_display_close = sxfe_display_close;
- this->fe.xine_init = fe_xine_init;
- this->fe.xine_open = sxfe_xine_open;
- this->fe.xine_play = sxfe_xine_play;
- this->fe.xine_stop = fe_xine_stop;
- this->fe.xine_close = fe_xine_close;
- this->fe.xine_exit = fe_xine_exit;
- this->fe.xine_is_finished = fe_is_finished;
-
- this->fe.fe_run = sxfe_run;
+ this->fe.fe_run = sxfe_run;
this->fe.fe_interrupt = sxfe_interrupt;
- this->fe.fe_free = fe_free;
-
- this->fe.grab = fe_grab;
-#ifndef FE_STANDALONE
- this->fe.xine_osd_command = xine_osd_command;
- this->fe.xine_control = xine_control;
-
- this->fe.xine_queue_pes_packet = xine_queue_pes_packet;
-#endif /*#ifndef FE_STANDALONE */
this->x.toggle_fullscreen_state = sxfe_toggle_fullscreen;
+ /* override */
+ this->fe.xine_open = sxfe_xine_open;
+ this->fe.xine_play = sxfe_xine_play;
+
return (frontend_t*)this;
}