if (strstr(name, "video")) {
gint stype = 0;
+
+ mm_attrs_set_int_by_name(player->attrs, "content_video_found", TRUE);
mm_attrs_get_int_by_name(player->attrs, "display_surface_type", &stype);
/* don't make video because of not required, and not support multiple track */
if (element_bucket)
g_list_free(element_bucket);
- mm_attrs_set_int_by_name(attrs, "content_video_found", TRUE);
-
MMPLAYER_FLEAVE();
return MM_ERROR_NONE;
gchar* caps_str = NULL;
const gchar* klass = NULL;
gint idx = 0;
- int surface_type = 0;
factory_name = GST_OBJECT_NAME(factory);
klass = gst_element_factory_get_metadata(factory, GST_ELEMENT_METADATA_KLASS);
__mmplayer_update_content_type_info(player);
}
- mm_attrs_get_int_by_name(player->attrs,
- "display_surface_type", &surface_type);
- LOGD("check display surface type attribute: %d", surface_type);
-
/* filtering exclude keyword */
for (idx = 0; player->ini.exclude_element_keyword[idx][0] != '\0'; idx++) {
if (strstr(factory_name, player->ini.exclude_element_keyword[idx])) {