summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2003-05-26 11:35:52 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2003-05-26 11:35:52 +0000
commit8b64e01567d1d1494109a1d5971fa768f791cb24 (patch)
tree00992562442453c11e93c38e3c9d87100ec74da8
parent26461f9255ad266478bb7224b0c578a508ec90d9 (diff)
downloadxine-lib-8b64e01567d1d1494109a1d5971fa768f791cb24.tar.gz
xine-lib-8b64e01567d1d1494109a1d5971fa768f791cb24.tar.bz2
- quiet xv plugin
CVS patchset: 4943 CVS date: 2003/05/26 11:35:52
-rw-r--r--src/video_out/video_out_xv.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index d5ab1bc18..c90826281 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -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_xv.c,v 1.167 2003/05/14 16:17:20 miguelfreitas Exp $
+ * $Id: video_out_xv.c,v 1.168 2003/05/26 11:35:52 hadess Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -1422,10 +1422,12 @@ static void *init_class (xine_t *xine, void *visual_gen) {
}
if (!xv_port) {
- printf ("video_out_xv: Xv extension is present but "
- "I couldn't find a usable yuv12 port.\n");
- printf (" Looks like your graphics hardware "
- "driver doesn't support Xv?!\n");
+ if (xine->verbosity >= XINE_VERBOSITY_LOG) {
+ printf ("video_out_xv: Xv extension is present but "
+ "I couldn't find a usable yuv12 port.\n");
+ printf (" Looks like your graphics hardware "
+ "driver doesn't support Xv?!\n");
+ }
/* XvFreeAdaptorInfo (adaptor_info); this crashed on me (gb)*/
return NULL;
} else if (xine->verbosity >= XINE_VERBOSITY_LOG)