Revert "Replace webm category from video to ETC" 14/108014/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.125436 accepted/tizen/3.0.m2/tv/20170104.125643 accepted/tizen/3.0.m2/wearable/20170104.125906 accepted/tizen/3.0/common/20170103.172643 accepted/tizen/3.0/ivi/20170103.154115 accepted/tizen/3.0/mobile/20170103.154019 accepted/tizen/3.0/tv/20170103.154037 accepted/tizen/3.0/wearable/20170103.154055 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20170102.102309
authorJiyong Min <jiyong.min@samsung.com>
Mon, 2 Jan 2017 10:12:09 +0000 (02:12 -0800)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 2 Jan 2017 10:19:15 +0000 (19:19 +0900)
This reverts commit 1a286dcabe480d31754668331e04ba9978af130e.

Change-Id: I7b31b68163e5d601785efb4f57288cbf86b89bcf

packaging/libmedia-service.spec
src/common/media-svc-util.c

index 1192aaa..39ba24c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmedia-service
 Summary:    Media information service library for multimedia applications
-Version: 0.2.89
+Version: 0.2.90
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0 and public domain
index 57a4e34..7474d9a 100755 (executable)
@@ -485,12 +485,6 @@ static int __media_svc_get_content_type_from_mime(const char *path, const char *
                                /*even though error occued in mm_file_get_stream_info return MS_MEDIA_ERR_NONE. fail means invalid media content. */
                        }
                }
-
-               /*webm mime type is "video/webm". but It has to be classified into MS_CATEGORY_ETC because video player can not play webm*/
-               if (strncasecmp(mimetype, "video/webm", strlen("video/webm")) == 0) {
-                       *category ^= MEDIA_SVC_CATEGORY_VIDEO;
-                       *category |= MEDIA_SVC_CATEGORY_ETC;
-               }
        }
 
        return MS_MEDIA_ERR_NONE;