- Due to license and playing issue, webm must not video type.
But the mime type of webm is changed from application to video.
Now, webm is video media type, so it is neccessary to except webm of video type.
Change-Id: Ia6c0717b8b910c38ec02f1b7bb5c0e32a52ab37a
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
Name: libmedia-service
Summary: Media information service library for multimedia applications
-Version: 0.2.88
+Version: 0.2.89
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and public domain
/*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;