diff libvo/vo_xv.c @ 4592:5fbfd8545c3b

query_ stuff replaced by new control() - patch by David Holm
author arpi
date Sat, 09 Feb 2002 00:47:26 +0000
parents df8e0f71cc3c
children c35d7ce151b3
line wrap: on
line diff
--- a/libvo/vo_xv.c	Fri Feb 08 23:03:38 2002 +0000
+++ b/libvo/vo_xv.c	Sat Feb 09 00:47:26 2002 +0000
@@ -770,3 +770,15 @@
   vaa->get_video_eq = xv_get_video_eq;
   vaa->set_video_eq = xv_set_video_eq;
 }
+
+uint32_t control(uint32_t request, void *data, ...)
+{
+  switch (request) {
+  case VOCTRL_QUERY_VAA:
+    query_vaa((vo_vaa_t*)data);
+    return VO_TRUE;
+  case VOCTRL_QUERY_FORMAT:
+    return query_format(*((uint32_t*)data));
+  }
+  return VO_NOTIMPL;
+}