summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-09-03 12:16:43 +0000
committerphintuka <phintuka>2006-09-03 12:16:43 +0000
commit64889549c347a968d9182127a15d5e7279767255 (patch)
tree76e924f7d05f4d652bd9c3f739d12d43090dd3c4
parent6706899a41125bd2c0562cfe52583e8a5b7eab5b (diff)
downloadxineliboutput-64889549c347a968d9182127a15d5e7279767255.tar.gz
xineliboutput-64889549c347a968d9182127a15d5e7279767255.tar.bz2
Allow "0.0" as video port
Added dummy audio out port
-rw-r--r--xine_sxfe_frontend.c5
1 files 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);