changeset 14852:e563ad582f9e

Don't print (stupid) message if output directory is .
author ivo
date Mon, 28 Feb 2005 04:25:25 +0000
parents c0678c89b278
children 7e2e8e1bab8d
files libvo/vo_pnm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_pnm.c	Mon Feb 28 02:10:45 2005 +0000
+++ b/libvo/vo_pnm.c	Mon Feb 28 04:25:25 2005 +0000
@@ -227,8 +227,10 @@
                     exit_player(MSGTR_Exit_error);
                 }
                 
+                if (strcmp(buf, ".") != 0) {
                 mp_msg(MSGT_VO, MSGL_INFO, "%s: %s - %s\n", info.short_name,
                         buf, MSGTR_VO_DirExistsAndIsWritable);
+                }
                 break;
 
             default: