CVS: main/libvo vo_dga.c,1.43,1.44 vo_x11.c,1.70,1.71 vo_xv.c,1.55,1.56 vo_3dfx.c,1.12,1.13 vo_aa.c,1.22,1.23 vo_fsdga.c,1.10,1.11 vo_ggi.c,1.15,1.16 vo_gl.c,1.23,1.24 vo_gl2.c,1.16,1.17 vo_md5.c,1.11,1.12 vo_mpegpes.c,1.20,1.21 vo_null.c,1.7,1.8 vo_odivx.c,1.11,1.12 vo_pgm.c,1.11,1.12 vo_png.c,1.13,1.14 vo_syncfb.c,1.11,1.12 vo_tdfxfb.c,1.7,1.8 vo_yuv4mpeg.c,1.5,1.6 vo_zr.c,1.11,1.12
Update of /cvsroot/mplayer/main/libvo In directory mplayer:/var/tmp.root/cvs-serv29415 Modified Files: vo_dga.c vo_x11.c vo_xv.c vo_3dfx.c vo_aa.c vo_fsdga.c vo_ggi.c vo_gl.c vo_gl2.c vo_md5.c vo_mpegpes.c vo_null.c vo_odivx.c vo_pgm.c vo_png.c vo_syncfb.c vo_tdfxfb.c vo_yuv4mpeg.c vo_zr.c Log Message: I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me' Index: vo_dga.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- vo_dga.c 15 Feb 2002 01:00:26 -0000 1.43 +++ vo_dga.c 17 Feb 2002 08:24:43 -0000 1.44 @@ -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, ...) Index: vo_x11.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- vo_x11.c 17 Feb 2002 02:01:45 -0000 1.70 +++ vo_x11.c 17 Feb 2002 08:24:43 -0000 1.71 @@ -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 */ Index: vo_xv.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- vo_xv.c 11 Feb 2002 11:44:50 -0000 1.55 +++ vo_xv.c 17 Feb 2002 08:24:43 -0000 1.56 @@ -788,7 +788,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) Index: vo_3dfx.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_3dfx.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- vo_3dfx.c 9 Feb 2002 01:21:48 -0000 1.12 +++ vo_3dfx.c 17 Feb 2002 08:24:43 -0000 1.13 @@ -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, ...) Index: vo_aa.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_aa.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- vo_aa.c 12 Feb 2002 17:10:21 -0000 1.22 +++ vo_aa.c 17 Feb 2002 08:24:43 -0000 1.23 @@ -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, ...) Index: vo_fsdga.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_fsdga.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- vo_fsdga.c 9 Feb 2002 01:21:48 -0000 1.10 +++ vo_fsdga.c 17 Feb 2002 08:24:43 -0000 1.11 @@ -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, ...) Index: vo_ggi.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_ggi.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- vo_ggi.c 9 Feb 2002 01:21:48 -0000 1.15 +++ vo_ggi.c 17 Feb 2002 08:24:43 -0000 1.16 @@ -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, ...) Index: vo_gl.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- vo_gl.c 11 Feb 2002 11:44:50 -0000 1.23 +++ vo_gl.c 17 Feb 2002 08:24:43 -0000 1.24 @@ -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, ...) Index: vo_gl2.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_gl2.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- vo_gl2.c 11 Feb 2002 11:44:50 -0000 1.16 +++ vo_gl2.c 17 Feb 2002 08:24:43 -0000 1.17 @@ -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, ...) Index: vo_md5.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_md5.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- vo_md5.c 9 Feb 2002 01:21:48 -0000 1.11 +++ vo_md5.c 17 Feb 2002 08:24:43 -0000 1.12 @@ -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, ...) Index: vo_mpegpes.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_mpegpes.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- vo_mpegpes.c 9 Feb 2002 01:21:48 -0000 1.20 +++ vo_mpegpes.c 17 Feb 2002 08:24:43 -0000 1.21 @@ -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, ...) Index: vo_null.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_null.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- vo_null.c 9 Feb 2002 01:21:48 -0000 1.7 +++ vo_null.c 17 Feb 2002 08:24:43 -0000 1.8 @@ -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, ...) Index: vo_odivx.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_odivx.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- vo_odivx.c 9 Feb 2002 01:21:48 -0000 1.11 +++ vo_odivx.c 17 Feb 2002 08:24:43 -0000 1.12 @@ -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, ...) Index: vo_pgm.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_pgm.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- vo_pgm.c 9 Feb 2002 01:21:48 -0000 1.11 +++ vo_pgm.c 17 Feb 2002 08:24:43 -0000 1.12 @@ -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, ...) Index: vo_png.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_png.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- vo_png.c 9 Feb 2002 01:21:48 -0000 1.13 +++ vo_png.c 17 Feb 2002 08:24:43 -0000 1.14 @@ -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, ...) Index: vo_syncfb.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_syncfb.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- vo_syncfb.c 9 Feb 2002 01:21:48 -0000 1.11 +++ vo_syncfb.c 17 Feb 2002 08:24:43 -0000 1.12 @@ -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, ...) Index: vo_tdfxfb.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_tdfxfb.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- vo_tdfxfb.c 9 Feb 2002 01:21:48 -0000 1.7 +++ vo_tdfxfb.c 17 Feb 2002 08:24:43 -0000 1.8 @@ -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, ...) Index: vo_yuv4mpeg.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_yuv4mpeg.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- vo_yuv4mpeg.c 14 Feb 2002 22:31:21 -0000 1.5 +++ vo_yuv4mpeg.c 17 Feb 2002 08:24:43 -0000 1.6 @@ -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, ...) Index: vo_zr.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_zr.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- vo_zr.c 12 Feb 2002 15:53:40 -0000 1.11 +++ vo_zr.c 17 Feb 2002 08:24:43 -0000 1.12 @@ -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, ...)
participants (1)
-
Nick Kurshev