summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2003-04-09 22:21:29 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2003-04-09 22:21:29 +0000
commitc258843e010805c15c4af992e09202ba666b61a3 (patch)
treed7abb879228fcd74d11ec84314f13c2f0ccaf503 /src
parent593066bb7c0b655acbf0d89ee2aaf5a601ea68da (diff)
downloadxine-lib-c258843e010805c15c4af992e09202ba666b61a3.tar.gz
xine-lib-c258843e010805c15c4af992e09202ba666b61a3.tar.bz2
get rid of annoying error message
CVS patchset: 4582 CVS date: 2003/04/09 22:21:29
Diffstat (limited to 'src')
-rw-r--r--src/dxr3/video_out_dxr3.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c
index 25662eb38..682666daa 100644
--- a/src/dxr3/video_out_dxr3.c
+++ b/src/dxr3/video_out_dxr3.c
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2000-2001 the xine project
+ * Copyright (C) 2000-2003 the xine project
*
- * This file is part of xine, a unix video player.
+ * This file is part of xine, a free video player.
*
* xine is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_dxr3.c,v 1.75 2003/03/31 14:31:58 heikos Exp $
+ * $Id: video_out_dxr3.c,v 1.76 2003/04/09 22:21:29 guenter Exp $
*/
/* mpeg1 encoding video out plugin for the dxr3.
@@ -272,8 +272,10 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v
printf("video_out_dxr3: Entering video init, devname = %s.\n", tmpstr);
#endif
if ((this->fd_control = open(tmpstr, O_WRONLY)) < 0) {
- printf("video_out_dxr3: Failed to open control device %s (%s)\n",
- tmpstr, strerror(errno));
+
+ if (class->xine->verbosity >= XINE_VERBOSITY_LOG)
+ printf("video_out_dxr3: Failed to open control device %s (%s)\n",
+ tmpstr, strerror(errno));
return 0;
}