From 567229a079c1423f1d2373157d26eda6842461e7 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Tue, 20 Oct 2015 14:51:41 +0900 Subject: [PATCH] [ACR-437] Modify get thumbnail path API return value Change-Id: I09b668baf22f8963704e46563d33ee41ccec59a7 Signed-off-by: Minje Ahn --- include/media_info.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/media_info.h b/include/media_info.h index 3b0bbe1..1d3f1e3 100755 --- a/include/media_info.h +++ b/include/media_info.h @@ -706,13 +706,15 @@ int media_info_get_modified_time(media_info_h media, time_t *time); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied */ -int media_info_get_timeline(media_info_h media, time_t* time); +int media_info_get_timeline(media_info_h media, time_t *time); /** * @brief Gets the thumbnail of media info. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * - * @remarks You must release @a path using free(). + * @remarks You must release @a path using free(). \n + * If the thumbnail extraction for the given media has not been requested yet, this API returns NULL. To create a thumbnail, you should use media_info_create_thumbnail() API. \n + * Since 3.0, this function returns an empty string if media_info_create_thumbnail() has failed to create a thumbnail for the given media. * * @param[in] media The media info handle * @param[out] path The path to the thumbnail of the media info -- 2.7.4