comparison libvo/vo_yuv4mpeg.c @ 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 a4400910be9f
children 041bd56e41dc
comparison
equal deleted inserted replaced
4736:57f053d75893 4737:32e1f5042f65
12 12
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 #include <string.h> 15 #include <string.h>
16 #include <unistd.h> 16 #include <unistd.h>
17 #include <errno.h>
17 #include <fcntl.h> 18 #include <fcntl.h>
18 19
19 #include "config.h" 20 #include "config.h"
20 #include "video_out.h" 21 #include "video_out.h"
21 #include "video_out_internal.h" 22 #include "video_out_internal.h"
188 } 189 }
189 190
190 191
191 static uint32_t preinit(const char *arg) 192 static uint32_t preinit(const char *arg)
192 { 193 {
193 return 0; 194 if(arg)
195 {
196 printf("vo_yuv4mpeg: Unknown subdevice: %s\n",arg);
197 return ENOSYS;
198 }
199 return 0;
194 } 200 }
195 201
196 static uint32_t control(uint32_t request, void *data, ...) 202 static uint32_t control(uint32_t request, void *data, ...)
197 { 203 {
198 switch (request) { 204 switch (request) {