diff options
author | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-02 16:00:21 +0000 |
---|---|---|
committer | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-02 16:00:21 +0000 |
commit | 44ccf8ee81155bbac4be06d6371605402a078486 (patch) | |
tree | 49f598eae58e35958458b3baddb12162bc9857d0 /libvo/vo_dxr3.c | |
parent | 29d5f337c94a0da54d5d8f9d8335a4baa84533db (diff) | |
download | mpv-44ccf8ee81155bbac4be06d6371605402a078486.tar.bz2 mpv-44ccf8ee81155bbac4be06d6371605402a078486.tar.xz |
Missed some gui ifdefs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8043 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r-- | libvo/vo_dxr3.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index c05002ca99..9308afe927 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -735,9 +735,13 @@ static void uninit(void) overlay_set_mode(overlay_data, EM8300_OVERLAY_MODE_OFF); overlay_release(overlay_data); +#ifdef HAVE_NEW_GUI if (!use_gui) { +#endif vo_x11_uninit(); +#ifdef HAVE_NEW_GUI } +#endif } #endif if (fd_video) { @@ -896,12 +900,16 @@ static uint32_t preinit(const char *arg) /* Initialize overlay and X11 */ overlay_data = overlay_init(fd_control); +#ifdef HAVE_NEW_GUI if (!use_gui) { +#endif if (!vo_init()) { printf("VO: [dxr3] Unable to init x11!\n"); return -1; } +#ifdef HAVE_NEW_GUI } +#endif } #endif |