From eecae1bb5a57f33fc65c203afc8024266f03356d Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Fri, 12 Jan 2018 13:32:49 +0900 Subject: [PATCH] Remove unused DRM flag Change-Id: I5ed0af3b49529939abd2cec1d952ae921933ddd4 Signed-off-by: Minje Ahn --- src/media-thumb-internal.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c index 6ae8396..e77a6a2 100755 --- a/src/media-thumb-internal.c +++ b/src/media-thumb-internal.c @@ -1026,13 +1026,9 @@ int _media_thumb_video(const char *origin_path, int thumb_width, int thumb_heigh void *frame = NULL; int video_track_num = 0; char *err_msg = NULL; - int is_drm = 0; int size = 0; int width = 0; int height = 0; - bool drm_type = FALSE; - - is_drm = drm_type; /* Get Content Tag attribute for orientatin */ MMHandleType tag = (MMHandleType) NULL; @@ -1100,8 +1096,7 @@ int _media_thumb_video(const char *origin_path, int thumb_width, int thumb_heigh return MS_MEDIA_ERR_INTERNAL; } - /* MMF api handle both normal and DRM video */ - if (video_track_num > 0 || is_drm) { + if (video_track_num > 0) { err = mm_file_get_attrs(content, &err_msg, MM_FILE_CONTENT_VIDEO_WIDTH, &width, -- 2.7.4