[vlc-commits] vout_window: add vout_window_vaControl() helper
Rémi Denis-Courmont
git at videolan.org
Sat Sep 13 18:24:35 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 13 17:41:19 2014 +0300| [1697d2f3e4297a121b36c4b128714952cef566d2] | committer: Rémi Denis-Courmont
vout_window: add vout_window_vaControl() helper
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1697d2f3e4297a121b36c4b128714952cef566d2
---
include/vlc_vout_window.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/vlc_vout_window.h b/include/vlc_vout_window.h
index a633b0d..265e7cb 100644
--- a/include/vlc_vout_window.h
+++ b/include/vlc_vout_window.h
@@ -30,6 +30,7 @@
* This file defines vout windows structures and functions in vlc
*/
+#include <stdarg.h>
#include <vlc_common.h>
/* */
@@ -134,6 +135,11 @@ VLC_API vout_window_t * vout_window_New(vlc_object_t *, const char *module, cons
*/
VLC_API void vout_window_Delete(vout_window_t *);
+static inline int vout_window_vaControl(vout_window_t *window, int query,
+ va_list ap)
+{
+ return window->control(window, query, ap);
+}
/**
* Reconfigures a window.
More information about the vlc-commits
mailing list