summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-06-17 19:13:14 +0000
committerphintuka <phintuka>2008-06-17 19:13:14 +0000
commit99d48f8ddeb892e7d6bb8df0df7af4b14f97cdc1 (patch)
tree03bedff1fc6e9a111c223971ff86cdb7ed55cce7
parentceaee170cdd8ad75f7108fb4c004c2437bd2a54a (diff)
downloadxineliboutput-99d48f8ddeb892e7d6bb8df0df7af4b14f97cdc1.tar.gz
xineliboutput-99d48f8ddeb892e7d6bb8df0df7af4b14f97cdc1.tar.bz2
fb_dev --> video_port_name
-rw-r--r--xine_fbfe_frontend.c16
-rw-r--r--xine_frontend.c8
-rw-r--r--xine_sxfe_frontend.c3
3 files changed, 13 insertions, 14 deletions
diff --git a/xine_fbfe_frontend.c b/xine_fbfe_frontend.c
index 9259be83..152c7b5a 100644
--- a/xine_fbfe_frontend.c
+++ b/xine_fbfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_fbfe_frontend.c,v 1.26 2008-06-17 16:12:23 phintuka Exp $
+ * $Id: xine_fbfe_frontend.c,v 1.27 2008-06-17 19:13:14 phintuka Exp $
*
*/
@@ -82,7 +82,7 @@ typedef struct fbfe_t {
xine_event_queue_t *event_queue;
post_plugins_t *postplugins;
- char *fb_dev;
+ char *video_port_name;
char *aspect_controller;
int xine_visual_type;
@@ -219,9 +219,9 @@ static int fbfe_display_open(frontend_t *this_gen, int width, int height, int fu
this->update_display_size = fbfe_update_display_size;
if(video_port && !strncmp(video_port, "/dev/", 5))
- this->fb_dev = strdup(video_port);
+ this->video_port_name = strdup(video_port);
else
- this->fb_dev = NULL;
+ this->video_port_name = NULL;
#if defined(KDSETMODE) && defined(KD_GRAPHICS)
if (isatty(STDIN_FILENO))
@@ -304,9 +304,9 @@ static void fbfe_display_close(frontend_t *this_gen)
fbfe_t *this = (fbfe_t*)this_gen;
if(this) {
- if(this->fb_dev) {
- free(this->fb_dev);
- this->fb_dev = NULL;
+ if(this->video_port_name) {
+ free(this->video_port_name);
+ this->video_port_name = NULL;
}
if(this->xine)
this->fe.xine_exit(this_gen);
@@ -333,7 +333,7 @@ static int fbfe_xine_init(frontend_t *this_gen, const char *audio_driver,
{
if (video_driver && !strcmp(video_driver, "DirectFB")) {
fbfe_t *this = (fbfe_t*)this_gen;
- update_DFBARGS(this->fb_dev);
+ update_DFBARGS(this->video_port_name);
}
return fe_xine_init(this_gen, audio_driver, audio_port,
diff --git a/xine_frontend.c b/xine_frontend.c
index b72f36fc..f3db9d3a 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.64 2008-06-17 16:26:50 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.65 2008-06-17 19:13:14 phintuka Exp $
*
*/
@@ -525,12 +525,10 @@ static int fe_xine_init(frontend_t *this_gen, const char *audio_driver,
x_upd_num("video.device.xv_double_buffer", 1);
x_upd_num("engine.buffers.video_num_buffers", pes_buffers);
-#ifdef IS_FBFE
- if(this->fb_dev) {
+ if(this->video_port_name) {
if(video_driver && !strcmp(video_driver, "fb"))
- x_upd_str("video.device.fb_device", this->fb_dev);
+ x_upd_str("video.device.fb_device", this->video_port_name);
}
-#endif
this->playback_finished = 0;
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index 0b739cdd..e415b851 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.65 2008-06-17 16:23:57 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.66 2008-06-17 19:13:14 phintuka Exp $
*
*/
@@ -195,6 +195,7 @@ typedef struct sxfe_s {
/* strings */
char *configfile;
+ char *video_port_name;
char modeline[256];
/* HUD stuff */