Support evasimagesink temporarily. 15/46715/4 accepted/tizen/mobile/20150826.015915 accepted/tizen/tv/20150826.015526 accepted/tizen/wearable/20150826.020132 submit/tizen/20150825.083311
authorHyunil <hyunil46.park@samsung.com>
Tue, 25 Aug 2015 07:55:45 +0000 (16:55 +0900)
committerHyunil <hyunil46.park@samsung.com>
Tue, 25 Aug 2015 08:29:18 +0000 (17:29 +0900)
Change-Id: I4aa5aa8621069cd5883a675ddd2ed2191813e31e
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
packaging/libmm-player.spec
src/server/mm_player_priv.c [changed mode: 0644->0755]

index 86e7af6..366359c 100644 (file)
@@ -4,7 +4,7 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
 Version:    0.5.63
-Release:    0
+Release:    1
 Group:      Multimedia/Libraries
 License:    Apache-2.0
 URL:        http://source.tizen.org
old mode 100644 (file)
new mode 100755 (executable)
index d0a3c5a..f10407f
@@ -12227,6 +12227,17 @@ GstCaps* caps, GstElementFactory* factory, gpointer data)
                __mmplayer_update_content_type_info(player);
        }
 
+       /* To support evasimagesink, omx is excluded temporarily*/
+       int surface_type = 0;
+       mm_attrs_get_int_by_name(player->attrs, "display_surface_type", &surface_type);
+       debug_log("check display surface type attribute: %d", surface_type);
+       if (surface_type == MM_DISPLAY_SURFACE_EVAS && strstr(factory_name, "omx"))
+       {
+               debug_warning("skipping [%s] for supporting evasimagesink temporarily.\n", factory_name);
+               result = GST_AUTOPLUG_SELECT_SKIP;
+               goto DONE;
+       }
+
        /* filtering exclude keyword */
        for ( idx = 0; player->ini.exclude_element_keyword[idx][0] != '\0'; idx++ )
        {