summaryrefslogtreecommitdiff
path: root/src/media-thumb-internal.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-07-20 09:47:25 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-07-20 09:47:25 (GMT)
commit318ec49c458b8f7acef0c192d046074250ebe231 (patch)
treec3f77b8f0a7ad2ce7ea6265656abdc3f72b0225b /src/media-thumb-internal.c
parent64959fbc53fd5386a684928617353a9be4890439 (diff)
downloadlibmedia-thumbnail-318ec49c458b8f7acef0c192d046074250ebe231.zip
libmedia-thumbnail-318ec49c458b8f7acef0c192d046074250ebe231.tar.gz
libmedia-thumbnail-318ec49c458b8f7acef0c192d046074250ebe231.tar.bz2
Fix gdkpixbuf issue. replace some function. Change-Id: I3176594d491f9ae1ef08cf7de46a0b791e09e231 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/media-thumb-internal.c')
-rwxr-xr-xsrc/media-thumb-internal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index 30e6f6b..a8c7fd7 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -22,6 +22,7 @@
#include "media-thumb-debug.h"
#include "media-thumb-util.h"
#include "media-thumb-internal.h"
+#include "media-thumb-ipc.h"
#include "AGifFrameInfo.h"
#include "IfegDecodeAGIF.h"
@@ -903,6 +904,8 @@ int _media_thumb_jpeg_for_raw(const char *origin_path,
thumb_err("decode_with_gdk failed : %d", err);
return err;
}
+ /* Temporary process */
+ thumb_info->data = gdk_pixbuf_get_pixels(thumb_info->gdkdata);
err = _media_thumb_convert_format(thumb_info, MEDIA_THUMB_RGB888, format);
if (err != MS_MEDIA_ERR_NONE) {
@@ -1009,7 +1012,6 @@ int _media_thumb_video(const char *origin_path,
int size = 0;
int width = 0;
int height = 0;
- int ret = 0;
GdkPixbuf *pixbuf;
bool drm_type = FALSE;