summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-01-12 04:32:49 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2018-01-12 05:12:51 (GMT)
commiteecae1bb5a57f33fc65c203afc8024266f03356d (patch)
treeb9f3c38432a184240f2786bcc9064d844d4cda30
parent6c8089d12ec7b310732bfe283c539cfeb4dec28a (diff)
downloadlibmedia-thumbnail-eecae1bb5a57f33fc65c203afc8024266f03356d.zip
libmedia-thumbnail-eecae1bb5a57f33fc65c203afc8024266f03356d.tar.gz
libmedia-thumbnail-eecae1bb5a57f33fc65c203afc8024266f03356d.tar.bz2
Remove unused DRM flagrefs/changes/16/166816/2
Change-Id: I5ed0af3b49529939abd2cec1d952ae921933ddd4 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rwxr-xr-xsrc/media-thumb-internal.c7
1 files changed, 1 insertions, 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,