do not packing the photo data when thumbnail does not exist 59/54459/1 accepted/tizen/tv/20151217.093050 submit/tizen/20151217.024340
authorSoohye Shin <soohye.shin@samsung.com>
Tue, 15 Dec 2015 08:27:16 +0000 (17:27 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Tue, 15 Dec 2015 08:27:16 +0000 (17:27 +0900)
Change-Id: Ie853e5bcdeaf9f560a6833ef447f0bdad490614c
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/data/data_photo.c

index a1a8049..1e577d9 100644 (file)
@@ -50,7 +50,7 @@ static bool _get_media(media_info_h m, void *data)
        if (r != MEDIA_CONTENT_ERROR_NONE || !thumb) {
                _ERR("failed to get thumb");
                free(mediaid);
-               return false;
+               return true;
        }
 
        favorite = false;