diff options
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 14d6deaa50..11706d2bf9 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -15,6 +15,7 @@ #include <stdlib.h> #include <string.h> #include <math.h> +#include <errno.h> #include "config.h" #include "video_out.h" @@ -475,7 +476,12 @@ uninit(void) static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("[gl] Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) |