summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_3dfx.c7
-rw-r--r--libvo/vo_aa.c8
-rw-r--r--libvo/vo_dga.c12
-rw-r--r--libvo/vo_fsdga.c8
-rw-r--r--libvo/vo_ggi.c7
-rw-r--r--libvo/vo_gl.c8
-rw-r--r--libvo/vo_gl2.c8
-rw-r--r--libvo/vo_md5.c8
-rw-r--r--libvo/vo_mpegpes.c9
-rw-r--r--libvo/vo_null.c8
-rw-r--r--libvo/vo_odivx.c8
-rw-r--r--libvo/vo_pgm.c8
-rw-r--r--libvo/vo_png.c7
-rw-r--r--libvo/vo_syncfb.c8
-rw-r--r--libvo/vo_tdfxfb.c8
-rw-r--r--libvo/vo_x11.c7
-rw-r--r--libvo/vo_xv.c7
-rw-r--r--libvo/vo_yuv4mpeg.c8
-rw-r--r--libvo/vo_zr.c8
19 files changed, 130 insertions, 22 deletions
diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c
index 266da268be..6751620082 100644
--- a/libvo/vo_3dfx.c
+++ b/libvo/vo_3dfx.c
@@ -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, ...)
diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c
index eef9ad89c9..dbd848562d 100644
--- a/libvo/vo_aa.c
+++ b/libvo/vo_aa.c
@@ -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, ...)
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index 6d94d12407..414a65c3d6 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -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, ...)
diff --git a/libvo/vo_fsdga.c b/libvo/vo_fsdga.c
index f20ea49d0d..2e18bd1f73 100644
--- a/libvo/vo_fsdga.c
+++ b/libvo/vo_fsdga.c
@@ -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, ...)
diff --git a/libvo/vo_ggi.c b/libvo/vo_ggi.c
index aae3691688..9fb804c918 100644
--- a/libvo/vo_ggi.c
+++ b/libvo/vo_ggi.c
@@ -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, ...)
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, ...)
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 7b49ffb09e..f1afcb03c3 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -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, ...)
diff --git a/libvo/vo_md5.c b/libvo/vo_md5.c
index 6160cc96cd..e32536ccce 100644
--- a/libvo/vo_md5.c
+++ b/libvo/vo_md5.c
@@ -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, ...)
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index ee3c000d0f..c83f219d66 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -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, ...)
diff --git a/libvo/vo_null.c b/libvo/vo_null.c
index 30f4b06cc7..e0d68ea661 100644
--- a/libvo/vo_null.c
+++ b/libvo/vo_null.c
@@ -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, ...)
diff --git a/libvo/vo_odivx.c b/libvo/vo_odivx.c
index d4ce17204a..54030eb517 100644
--- a/libvo/vo_odivx.c
+++ b/libvo/vo_odivx.c
@@ -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, ...)
diff --git a/libvo/vo_pgm.c b/libvo/vo_pgm.c
index ca9eb1077f..e37f2c8973 100644
--- a/libvo/vo_pgm.c
+++ b/libvo/vo_pgm.c
@@ -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, ...)
diff --git a/libvo/vo_png.c b/libvo/vo_png.c
index b211b60541..2ee152ef8a 100644
--- a/libvo/vo_png.c
+++ b/libvo/vo_png.c
@@ -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, ...)
diff --git a/libvo/vo_syncfb.c b/libvo/vo_syncfb.c
index 0e788e494a..adb4812dfa 100644
--- a/libvo/vo_syncfb.c
+++ b/libvo/vo_syncfb.c
@@ -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, ...)
diff --git a/libvo/vo_tdfxfb.c b/libvo/vo_tdfxfb.c
index 8ac56b6dc5..a66b7f8ea9 100644
--- a/libvo/vo_tdfxfb.c
+++ b/libvo/vo_tdfxfb.c
@@ -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, ...)
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index b6804d106d..ec1bdeef71 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -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 */
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 8aa4007279..07f045cf8f 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -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)
diff --git a/libvo/vo_yuv4mpeg.c b/libvo/vo_yuv4mpeg.c
index 66a8ccb63a..012ca60479 100644
--- a/libvo/vo_yuv4mpeg.c
+++ b/libvo/vo_yuv4mpeg.c
@@ -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, ...)
diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c
index 44d036c169..f1a397a219 100644
--- a/libvo/vo_zr.c
+++ b/libvo/vo_zr.c
@@ -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, ...)