Mercurial > mplayer.hg
comparison libvo/vo_pgm.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 | c35d7ce151b3 |
children | eca7dbad0166 |
comparison
equal
deleted
inserted
replaced
4736:57f053d75893 | 4737:32e1f5042f65 |
---|---|
14 */ | 14 */ |
15 | 15 |
16 #include <stdio.h> | 16 #include <stdio.h> |
17 #include <stdlib.h> | 17 #include <stdlib.h> |
18 #include <string.h> | 18 #include <string.h> |
19 #include <errno.h> | |
19 | 20 |
20 #include "config.h" | 21 #include "config.h" |
21 #include "video_out.h" | 22 #include "video_out.h" |
22 #include "video_out_internal.h" | 23 #include "video_out_internal.h" |
23 | 24 |
135 { | 136 { |
136 } | 137 } |
137 | 138 |
138 static uint32_t preinit(const char *arg) | 139 static uint32_t preinit(const char *arg) |
139 { | 140 { |
140 return 0; | 141 if(arg) |
142 { | |
143 printf("vo_pgm: Unknown subdevice: %s\n",arg); | |
144 return ENOSYS; | |
145 } | |
146 return 0; | |
141 } | 147 } |
142 | 148 |
143 static uint32_t control(uint32_t request, void *data, ...) | 149 static uint32_t control(uint32_t request, void *data, ...) |
144 { | 150 { |
145 switch (request) { | 151 switch (request) { |