#include <Ecore.h>
#include <Elementary.h>
#include <Ecore.h>
+#ifdef HAVE_WAYLAND
#include <Ecore_Wayland.h>
+#endif
#include <tbm_bufmgr.h>
#include <tbm_surface_internal.h>
{ \
g_cond_wait (&handle->message_queue_cond,&handle->message_queue_lock); \
} \
- handle->current_message = (int)g_queue_pop_head (handle->message_queue); \
+ handle->current_message = (int)(intptr_t)g_queue_pop_head (handle->message_queue); \
g_mutex_unlock (&handle->message_queue_lock); \
LOGI("Retrived message [%d] from queue",handle->current_message); \
}else{ \
switch(type) {
case PLAYER_DISPLAY_TYPE_OVERLAY:
return MM_DISPLAY_SURFACE_X;
+#ifdef TIZEN_MOBILE
case PLAYER_DISPLAY_TYPE_EVAS:
return MM_DISPLAY_SURFACE_EVAS;
+#endif
case PLAYER_DISPLAY_TYPE_NONE:
return MM_DISPLAY_SURFACE_NULL;
default :
switch(type) {
case PLAYER_DISPLAY_TYPE_OVERLAY:
return MM_DISPLAY_SURFACE_REMOTE;
+#ifdef TIZEN_MOBILE
case PLAYER_DISPLAY_TYPE_EVAS:
return MM_DISPLAY_SURFACE_EVAS;
+#endif
case PLAYER_DISPLAY_TYPE_NONE:
return MM_DISPLAY_SURFACE_NULL;
default :
#ifdef HAVE_WAYLAND
-int player_set_display_wl_for_mused(player_h player, player_display_type_e type, unsigned int surface,
+int player_set_display_wl_for_mused(player_h player, player_display_type_e type, intptr_t surface,
int x, int y, int w, int h)
{
PLAYER_INSTANCE_CHECK(player);