$(INIPARSER_LIBS) \
$(VCONF_LIBS)
-libmmfplayer_la_CFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x008 -DMMF_DEBUG_PREFIX=\"MMF-PLAYER\" -D_INTERNAL_SESSION_MANAGER_
+libmmfplayer_la_CFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x008 -DMMF_DEBUG_PREFIX=\"MMF-PLAYER\" -D_INTERNAL_SESSION_MANAGER_ -DSW_CODEC_ONLY
libmmfplayer_la_LIBADD += $(MMLOG_LIBS)
libmmfplayerclient_la_CFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x008 -DMMF_DEBUG_PREFIX=\"MMF-PLAYER\" -D_INTERNAL_SESSION_MANAGER_
GList* element_bucket = NULL;
gboolean need_state_holder = TRUE;
gint i = 0;
-
+#ifdef SW_CODEC_ONLY
+ int surface_type = 0;
+#endif
MMPLAYER_FENTER();
return_val_if_fail(player, MM_ERROR_PLAYER_NOT_INITIALIZED);
_mmplayer_track_initialize(player);
+#ifdef SW_CODEC_ONLY
+ mm_attrs_get_int_by_name (player->attrs, "display_surface_type", &surface_type);
+ if(surface_type == MM_DISPLAY_SURFACE_REMOTE)
+ {
+ int idx = 0;
+ while (player->ini.exclude_element_keyword[idx][0] != '\0')
+ {
+ idx++;
+ }
+ if(idx < PLAYER_INI_MAX_ELEMENT)
+ {
+ strncpy(player->ini.exclude_element_keyword[idx],
+ "omx", PLAYER_INI_MAX_STRLEN);
+ debug_log("Remote surface uses s/w codec");
+ }
+ }
+#endif
+
/* create source element */
switch ( player->profile.uri_type )
{