Mercurial > mplayer.hg
changeset 4737:32e1f5042f65
I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'
author | nick |
---|---|
date | Sun, 17 Feb 2002 08:24:43 +0000 |
parents | 57f053d75893 |
children | 77519b9ac057 |
files | libvo/vo_3dfx.c libvo/vo_aa.c libvo/vo_dga.c libvo/vo_fsdga.c libvo/vo_ggi.c libvo/vo_gl.c libvo/vo_gl2.c libvo/vo_md5.c libvo/vo_mpegpes.c libvo/vo_null.c libvo/vo_odivx.c libvo/vo_pgm.c libvo/vo_png.c libvo/vo_syncfb.c libvo/vo_tdfxfb.c libvo/vo_x11.c libvo/vo_xv.c libvo/vo_yuv4mpeg.c libvo/vo_zr.c |
diffstat | 19 files changed, 130 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- 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, ...)
--- 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 <stdarg.h> #include <time.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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 <stdlib.h> #include <stdarg.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> //#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, ...)
--- 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, ...)
--- 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 <stdlib.h> #include <string.h> #include <math.h> +#include <errno.h> #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, ...)
--- 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 <stdlib.h> #include <string.h> #include <math.h> +#include <errno.h> #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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> - +#include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -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, ...)
--- 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 <errno.h> #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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #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, ...)
--- 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 */
--- 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)
--- 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 <stdlib.h> #include <string.h> #include <unistd.h> +#include <errno.h> #include <fcntl.h> #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, ...)
--- 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 <string.h> #include <unistd.h> #include <fcntl.h> +#include <errno.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> @@ -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, ...)