display: applying new display enum and remove X, X_EXT 44/57944/2
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 26 Jan 2016 08:02:52 +0000 (17:02 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 26 Jan 2016 08:03:09 +0000 (17:03 +0900)
Change-Id: I5b40d45aa43376d4742ca9a80ad39735233ad512

src/player.c
src/player_priv.c

index f1c2192..7eb6950 100644 (file)
@@ -1024,7 +1024,7 @@ static MMDisplaySurfaceType __player_convet_display_type(player_display_type_e t
 {
        switch (type) {
        case PLAYER_DISPLAY_TYPE_OVERLAY:
-               return MM_DISPLAY_SURFACE_X;
+               return MM_DISPLAY_SURFACE_OVERLAY;
 #ifdef TIZEN_MOBILE
        case PLAYER_DISPLAY_TYPE_EVAS:
                return MM_DISPLAY_SURFACE_EVAS;
index 8d59cf4..471c73b 100644 (file)
@@ -101,7 +101,7 @@ int player_set_display_wl_for_mused(player_h player, player_display_type_e type,
                        LOGI("Wayland overlay surface type");
                        handle->display_handle = (void *)surface;
                        set_handle = &(handle->display_handle);
-                       mmClientType = MM_DISPLAY_SURFACE_X;
+                       mmClientType = MM_DISPLAY_SURFACE_OVERLAY;
 #ifdef TIZEN_MOBILE
                } else if (type == PLAYER_DISPLAY_TYPE_EVAS) {
                        LOGI("Evas surface type");