From 64889549c347a968d9182127a15d5e7279767255 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sun, 3 Sep 2006 12:16:43 +0000 Subject: Allow "0.0" as video port Added dummy audio out port --- xine_sxfe_frontend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index cbb26134..a81c9826 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.13 2006-09-01 12:25:50 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.14 2006-09-03 12:16:43 phintuka Exp $ * */ @@ -92,6 +92,7 @@ typedef struct sxfe_s { input_plugin_t *input; xine_video_port_t *video_port; xine_audio_port_t *audio_port; + xine_audio_port_t *audio_port_none; xine_event_queue_t *event_queue; post_plugins_t *postplugins; @@ -395,7 +396,7 @@ static int sxfe_display_open(frontend_t *this_gen, int width, int height, int fu return 0; } - if(video_port && strlen(video_port)>3) { + if(video_port && strlen(video_port)>2) { if(!(this->display = XOpenDisplay(video_port))) LOGERR("sxfe_display_open: failed to connect to X server (%s)", video_port); -- cgit v1.2.3