diff options
-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, |