comparison libvo/vo_pnm.c @ 14852:e563ad582f9e

Don't print (stupid) message if output directory is .
author ivo
date Mon, 28 Feb 2005 04:25:25 +0000
parents ba555409718b
children 05aa13cdf92f
comparison
equal deleted inserted replaced
14851:c0678c89b278 14852:e563ad582f9e
225 mp_msg(MSGT_VO, MSGL_ERR, "%s: %s - %s\n", info.short_name, 225 mp_msg(MSGT_VO, MSGL_ERR, "%s: %s - %s\n", info.short_name,
226 buf, MSGTR_VO_DirExistsButNotWritable); 226 buf, MSGTR_VO_DirExistsButNotWritable);
227 exit_player(MSGTR_Exit_error); 227 exit_player(MSGTR_Exit_error);
228 } 228 }
229 229
230 if (strcmp(buf, ".") != 0) {
230 mp_msg(MSGT_VO, MSGL_INFO, "%s: %s - %s\n", info.short_name, 231 mp_msg(MSGT_VO, MSGL_INFO, "%s: %s - %s\n", info.short_name,
231 buf, MSGTR_VO_DirExistsAndIsWritable); 232 buf, MSGTR_VO_DirExistsAndIsWritable);
233 }
232 break; 234 break;
233 235
234 default: 236 default:
235 mp_msg(MSGT_VO, MSGL_ERR, "%s: %s: %s\n", info.short_name, 237 mp_msg(MSGT_VO, MSGL_ERR, "%s: %s: %s\n", info.short_name,
236 MSGTR_VO_GenericError, strerror(errno) ); 238 MSGTR_VO_GenericError, strerror(errno) );