diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2018-01-12 13:32:49 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2018-01-12 14:12:51 +0900 |
commit | eecae1bb5a57f33fc65c203afc8024266f03356d (patch) | |
tree | b9f3c38432a184240f2786bcc9064d844d4cda30 /src | |
parent | 6c8089d12ec7b310732bfe283c539cfeb4dec28a (diff) | |
download | libmedia-thumbnail-eecae1bb5a57f33fc65c203afc8024266f03356d.tar.gz libmedia-thumbnail-eecae1bb5a57f33fc65c203afc8024266f03356d.tar.bz2 libmedia-thumbnail-eecae1bb5a57f33fc65c203afc8024266f03356d.zip |
Remove unused DRM flag
Change-Id: I5ed0af3b49529939abd2cec1d952ae921933ddd4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/media-thumb-internal.c | 7 |
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, |