[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.83,1.84
Alex Beregszaszi
alex at mplayerhq.hu
Wed Oct 8 00:30:04 CEST 2003
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv5333
Modified Files:
vo_fbdev.c
Log Message:
vidix equalizer support by Jake Page <jake at CS.Stanford.EDU>
Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- vo_fbdev.c 15 Aug 2003 13:04:37 -0000 1.83
+++ vo_fbdev.c 7 Oct 2003 22:29:37 -0000 1.84
@@ -1150,5 +1150,35 @@
case VOCTRL_QUERY_FORMAT:
return query_format(*((uint32_t*)data));
}
+
+#ifdef CONFIG_VIDIX
+ if (vidix_name) {
+ switch (request) {
+ case VOCTRL_SET_EQUALIZER:
+ {
+ va_list ap;
+ int value;
+
+ va_start(ap, data);
+ value = va_arg(ap, int);
+ va_end(ap);
+
+ return vidix_control(request, data, (int *)value);
+ }
+ case VOCTRL_GET_EQUALIZER:
+ {
+ va_list ap;
+ int *value;
+
+ va_start(ap, data);
+ value = va_arg(ap, int*);
+ va_end(ap);
+
+ return vidix_control(request, data, value);
+ }
+ }
+ }
+#endif
+
return VO_NOTIMPL;
}
More information about the MPlayer-cvslog
mailing list