Commit 1697d2f3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout_window: add vout_window_vaControl() helper

parent bee379f5
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
* This file defines vout windows structures and functions in vlc * This file defines vout windows structures and functions in vlc
*/ */
#include <stdarg.h>
#include <vlc_common.h> #include <vlc_common.h>
/* */ /* */
...@@ -134,6 +135,11 @@ VLC_API vout_window_t * vout_window_New(vlc_object_t *, const char *module, cons ...@@ -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 *); 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. * Reconfigures a window.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment