SOURCES_aa = aa.c
SOURCES_caca = caca.c
SOURCES_fb = fb.c
-SOURCES_vout_sdl = sdl.c keythread.h keythread.c
+SOURCES_vout_sdl = sdl.c
SOURCES_snapshot = snapshot.c
SOURCES_directfb = directfb.c
SOURCES_vmem = vmem.c
#include <vlc_plugin.h>
#include <vlc_vout_display.h>
#include <vlc_picture_pool.h>
-#include "keythread.h"
#include <assert.h>
/* */
picture_pool_t *pool;
- key_thread_t *keys;
};
/**
/* */
vout_display_SendEventDisplaySize(vd, display_width, display_height, vd->cfg->is_fullscreen);
-
- sys->keys = vlc_CreateKeyThread (vd);
return VLC_SUCCESS;
error:
vout_display_t *vd = (vout_display_t *)object;
vout_display_sys_t *sys = vd->sys;
- vlc_DestroyKeyThread(sys->keys);
-
if (sys->pool)
picture_pool_Delete(sys->pool);
key |= KEY_MODIFIER_CTRL;
if (event.key.keysym.mod & KMOD_ALT)
key |= KEY_MODIFIER_ALT;
- vlc_EmitKey(sys->keys, key);
+ vout_display_SendEventKey(vd, key);
break;
}
}
return 0;
}
+