summaryrefslogtreecommitdiffstats
path: root/libvo/vo_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_null.c')
-rw-r--r--libvo/vo_null.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/vo_null.c b/libvo/vo_null.c
index bed16211d4..4214bec55d 100644
--- a/libvo/vo_null.c
+++ b/libvo/vo_null.c
@@ -26,6 +26,8 @@
#include <string.h>
#include <errno.h>
#include "config.h"
+#include "mp_msg.h"
+#include "help_mp.h"
#include "video_out.h"
#include "video_out_internal.h"
@@ -91,7 +93,7 @@ static int preinit(const char *arg)
{
if(arg)
{
- printf("vo_null: Unknown subdevice: %s\n",arg);
+ mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_NULL_UnknownSubdevice,arg);
return ENOSYS;
}
return 0;