}
media_svc_debug("CDIS : %d", cdis_value);
+
+ mmf_error = mm_file_get_attrs(tag, &err_attr_name, MM_FILE_TAG_ROTATE, &p, &size, NULL);
+ if ((mmf_error == FILEINFO_ERROR_NONE) && (size > 0)) {
+ content_info->media_meta.orientation = atoi(p);
+ } else {
+ SAFE_FREE(err_attr_name);
+ content_info->media_meta.orientation = 0;
+ media_svc_debug("fail to get video orientation attr - err(%x)", mmf_error);
+ }
}
mmf_error = mm_file_destroy_tag_attrs(tag);
} else {
/*media_svc_debug("height : %d", content_info->media_meta.height); */
}
-
} else {
media_svc_error("Not support type");
mmf_error = mm_file_destroy_content_attrs(content);