summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index b6804d106d..ec1bdeef71 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -586,7 +586,12 @@ uninit(void)
static uint32_t preinit(const char *arg)
{
- return 0;
+ if(arg)
+ {
+ printf("vo_x11: Unknown subdevice: %s\n",arg);
+ return ENOSYS;
+ }
+ return 0;
}
/* for runtime fullscreen switching */