1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4738 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2002-02-17 08:24:43 +00:00
parent 7ef2f59186
commit 5ddd8e92a1
19 changed files with 130 additions and 22 deletions

View File

@ -490,7 +490,12 @@ static void check_events(void)
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, ...)

View File

@ -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 @@ vo_aa_revertoption(config_t* opt,char* param) {
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, ...)

View File

@ -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 config( uint32_t width, uint32_t height,
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, ...)

View File

@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
//#include "fastmemcpy.h"
@ -458,7 +459,12 @@ int vo_dga_query_event(void){
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, ...)

View File

@ -768,7 +768,12 @@ static void check_events(void)
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, ...)

View File

@ -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, ...)

View File

@ -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 @@ uninit(void)
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, ...)

View File

@ -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 void check_events(void)
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, ...)

View File

@ -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 void check_events(void)
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, ...)

View File

@ -21,6 +21,7 @@
*
*/
#include <errno.h>
#include "config.h"
#include "video_out.h"
#include "video_out_internal.h"
@ -92,7 +93,12 @@ static void check_events(void)
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, ...)

View File

@ -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 void check_events(void)
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, ...)

View File

@ -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 void check_events(void)
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, ...)

View File

@ -327,7 +327,12 @@ static void check_events(void)
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, ...)

View File

@ -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 void check_events(void)
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, ...)

View File

@ -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 void my_draw_alpha_accel(int x0, int y0, int w, int h, unsigned char *src
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, ...)

View File

@ -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 */

View File

@ -789,7 +789,12 @@ static void uninit(void)
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)

View File

@ -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 void check_events(void)
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, ...)

View File

@ -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 @@ void vo_zr_revertoption(config_t* opt,char* param) {
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, ...)