Fixed issue regarding not able to play video 64/245764/2 submit/tizen/20201029.115733 submit/tizen/20201103.071736
authormohitkr1 <mohit.kr1@samsung.com>
Thu, 15 Oct 2020 11:06:30 +0000 (16:36 +0530)
committermohitkr1 <mohit.kr1@samsung.com>
Thu, 15 Oct 2020 11:07:54 +0000 (16:37 +0530)
Change-Id: Id03030f49fa540cb62bfb69c6b3515dddd946b56
Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
src/main/control/ivug-ext-ug.c

index 3bb2675f8c771ee2929dfdcfa660698275f0a0bb..87105c1e8faae9ad0b15c92e9e36d07d7f73a0c8 100644 (file)
@@ -119,6 +119,12 @@ bool ivug_ext_launch_videoplayer(const char *uri, bool isLockScreen)
                goto VIDEO_PLAYER_END;
        }
 
+       ret = app_control_set_mime(handle, "video/*");
+    if (ret != APP_CONTROL_ERROR_NONE) {
+        MSG_IMAGEVIEW_ERROR("app_control_set_mime failed, 0x%08x", ret);
+        goto VIDEO_PLAYER_END;
+    }
+
        if (isLockScreen == true) {
                ret = app_control_set_launch_mode(handle, APP_CONTROL_LAUNCH_MODE_GROUP);
                if (ret != APP_CONTROL_ERROR_NONE) {