summaryrefslogtreecommitdiffstats
path: root/libmenu/vf_menu.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-21 18:28:48 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-21 18:28:48 +0000
commit00b3c781965e920f9672b7568d65acd44a47c84f (patch)
treebd97c00eae7dbcc107d6888828715c881f2c2778 /libmenu/vf_menu.c
parente1547563a929a1b923a708f7d9df062d68a2d11d (diff)
downloadmpv-00b3c781965e920f9672b7568d65acd44a47c84f.tar.bz2
mpv-00b3c781965e920f9672b7568d65acd44a47c84f.tar.xz
Fix menu to work with mpctx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22302 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu/vf_menu.c')
-rw-r--r--libmenu/vf_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmenu/vf_menu.c b/libmenu/vf_menu.c
index 81cd97f783..a49040611e 100644
--- a/libmenu/vf_menu.c
+++ b/libmenu/vf_menu.c
@@ -23,8 +23,7 @@
#include "input/input.h"
#include "m_struct.h"
#include "menu.h"
-
-extern vo_functions_t* video_out;
+#include "access_mpcontext.h"
static struct vf_priv_s* st_priv = NULL;
@@ -78,6 +77,7 @@ static mp_image_t* alloc_mpi(int w, int h, uint32_t fmt) {
}
void vf_menu_pause_update(struct vf_instance_s* vf) {
+ vo_functions_t *video_out = mpctx_get_video_out(vf->priv->current->ctx);
if(pause_mpi) {
put_image(vf,pause_mpi, MP_NOPTS_VALUE);
// Don't draw the osd atm