diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-21 19:14:49 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-21 19:14:49 +0000 |
commit | e65e0651d5fb3b5de97426d1ae7364eda7839bdb (patch) | |
tree | 1692abb4888a234f61144885af44eaf6c42ef402 /mplayer.c | |
parent | 122cd3e7068e5f0fea9a624ff308e52e91f8419d (diff) | |
download | mpv-e65e0651d5fb3b5de97426d1ae7364eda7839bdb.tar.bz2 mpv-e65e0651d5fb3b5de97426d1ae7364eda7839bdb.tar.xz |
Fix GUI compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -386,11 +386,26 @@ void *mpctx_get_video_out(MPContext *mpctx) return mpctx->video_out; } +void *mpctx_get_audio_out(MPContext *mpctx) +{ + return mpctx->video_out; +} + void *mpctx_get_playtree_iter(MPContext *mpctx) { return mpctx->playtree_iter; } +void *mpctx_get_mixer(MPContext *mpctx) +{ + return &mpctx->mixer; +} + +void *mpctx_get_global_sub_size(MPContext *mpctx) +{ + return mpctx->global_sub_size; +} + static int is_valid_metadata_type (metadata_t type) { switch (type) { @@ -2546,6 +2561,7 @@ current_module = NULL; #ifdef HAVE_NEW_GUI if(use_gui){ guiInit(); + guiGetEvent(guiSetContext, mpctx); inited_flags|=INITED_GUI; guiGetEvent( guiCEvent,(char *)((gui_no_filename) ? 0 : 1) ); } |