# HG changeset patch # User nick # Date 1013934283 0 # Node ID 32e1f5042f65d06d22ddc8378700b0bfd89e4e36 # Parent 57f053d75893b2db48141c36666a8f92b8f242c0 I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me' diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_3dfx.c --- a/libvo/vo_3dfx.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_3dfx.c Sun Feb 17 08:24:43 2002 +0000 @@ -490,7 +490,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_3dfx: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_aa.c --- a/libvo/vo_aa.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_aa.c Sun Feb 17 08:24:43 2002 +0000 @@ -21,6 +21,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -774,7 +775,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_aa: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_dga.c --- a/libvo/vo_dga.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_dga.c Sun Feb 17 08:24:43 2002 +0000 @@ -23,8 +23,8 @@ * - works only on x86 architectures * * $Log$ - * Revision 1.43 2002/02/15 01:00:26 michael - * use mem2agpcpy_pic() + * Revision 1.44 2002/02/17 08:24:43 nick + * I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me' * * Revision 1.42 2002/02/12 23:19:37 michael * use mem2agpcpy() instead of fast_memcpy() @@ -165,6 +165,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -1171,7 +1172,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + vd_printf(VD_INFO, "vo_dga: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_fsdga.c --- a/libvo/vo_fsdga.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_fsdga.c Sun Feb 17 08:24:43 2002 +0000 @@ -21,6 +21,7 @@ #include #include #include +#include //#include "fastmemcpy.h" @@ -458,7 +459,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_fsdga: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_ggi.c --- a/libvo/vo_ggi.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_ggi.c Sun Feb 17 08:24:43 2002 +0000 @@ -768,7 +768,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_ggi: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_gl.c --- a/libvo/vo_gl.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_gl.c Sun Feb 17 08:24:43 2002 +0000 @@ -15,6 +15,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -475,7 +476,12 @@ 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, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_gl2.c --- a/libvo/vo_gl2.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_gl2.c Sun Feb 17 08:24:43 2002 +0000 @@ -10,6 +10,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -1102,7 +1103,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("[gl2] Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_md5.c --- a/libvo/vo_md5.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_md5.c Sun Feb 17 08:24:43 2002 +0000 @@ -16,6 +16,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -105,7 +106,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_md5: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_mpegpes.c --- a/libvo/vo_mpegpes.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_mpegpes.c Sun Feb 17 08:24:43 2002 +0000 @@ -16,7 +16,7 @@ #include #include #include - +#include #include #include #include @@ -513,7 +513,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_mpegpes: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_null.c --- a/libvo/vo_null.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_null.c Sun Feb 17 08:24:43 2002 +0000 @@ -21,6 +21,7 @@ * */ +#include #include "config.h" #include "video_out.h" #include "video_out_internal.h" @@ -92,7 +93,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_null: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_odivx.c --- a/libvo/vo_odivx.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_odivx.c Sun Feb 17 08:24:43 2002 +0000 @@ -5,6 +5,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -267,7 +268,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_odivx: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_pgm.c --- a/libvo/vo_pgm.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_pgm.c Sun Feb 17 08:24:43 2002 +0000 @@ -16,6 +16,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -137,7 +138,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_pgm: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_png.c --- a/libvo/vo_png.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_png.c Sun Feb 17 08:24:43 2002 +0000 @@ -327,7 +327,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("PNG Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_syncfb.c --- a/libvo/vo_syncfb.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_syncfb.c Sun Feb 17 08:24:43 2002 +0000 @@ -28,6 +28,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -450,7 +451,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_syncfb: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_tdfxfb.c --- a/libvo/vo_tdfxfb.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_tdfxfb.c Sun Feb 17 08:24:43 2002 +0000 @@ -47,6 +47,7 @@ #include #include #include +#include #include "config.h" #include "video_out.h" @@ -825,7 +826,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_tdfxfb: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_x11.c --- a/libvo/vo_x11.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_x11.c Sun Feb 17 08:24:43 2002 +0000 @@ -586,7 +586,12 @@ 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 */ diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_xv.c --- a/libvo/vo_xv.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_xv.c Sun Feb 17 08:24:43 2002 +0000 @@ -789,7 +789,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_xv: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static void query_vaa(vo_vaa_t *vaa) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_yuv4mpeg.c --- a/libvo/vo_yuv4mpeg.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_yuv4mpeg.c Sun Feb 17 08:24:43 2002 +0000 @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "config.h" @@ -190,7 +191,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_yuv4mpeg: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) diff -r 57f053d75893 -r 32e1f5042f65 libvo/vo_zr.c --- a/libvo/vo_zr.c Sun Feb 17 03:06:38 2002 +0000 +++ b/libvo/vo_zr.c Sun Feb 17 08:24:43 2002 +0000 @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -655,7 +656,12 @@ static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_zr: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...)