[media-content][ACR-1098] Remove deprecated API from sample code 71/155171/2
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 12 Oct 2017 08:12:35 +0000 (17:12 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 12 Oct 2017 23:45:23 +0000 (08:45 +0900)
Change-Id: I12965529137ce92f5af1eac92038cc728d6f2229
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
org.tizen.guides/html/native/media/media_content_n.htm

index fde6776..9d60bfc 100644 (file)
@@ -1149,7 +1149,6 @@ if (ret != MEDIA_CONTENT_ERROR_NONE) {
             int width = 0;
             int height = 0;
             char *datetaken = NULL;
-            char *burst_id = NULL;
 
             ret = media_info_get_image(media_handle, &amp;image_handle);
             if (ret != MEDIA_CONTENT_ERROR_NONE) {
@@ -1159,7 +1158,6 @@ if (ret != MEDIA_CONTENT_ERROR_NONE) {
                 image_meta_get_height(image_handle, &amp;height);
                 image_meta_get_orientation(image_handle, &amp;orientation);
                 image_meta_get_date_taken(image_handle, &amp;datetaken);
-                image_meta_get_burst_id(image_handle, &amp;burst_id);
 
                 dlog_print(DLOG_DEBUG, LOG_TAG, "This is an image");
                 dlog_print(DLOG_DEBUG, LOG_TAG,
@@ -1169,8 +1167,6 @@ if (ret != MEDIA_CONTENT_ERROR_NONE) {
 
             if (datetaken)
                 free(datetaken);
-            if (burst_id)
-                free(burst_id);
 
             image_meta_destroy(image_handle);
         } else if (media_type == MEDIA_CONTENT_TYPE_VIDEO) {
@@ -2141,16 +2137,6 @@ media_cb(media_info_h media, void *user_data)
      <td>Time the image was created
         <p>You can get this information from the EXIF tag. If there is no EXIF tag for the image, set the created time in the file system.</p></td>
     </tr>
-    <tr>
-     <td><code>Is burstshot</code></td>
-     <td>Check flag for a burst shot of the image
-        <p>The burst shot is a continuous shooting mode.</p></td>
-    </tr>
-    <tr>
-     <td><code>Burstshot ID</code></td>
-     <td>ID of a burst shot image
-        <p>Assign the same ID to the burst shooting mode.</p></td>
-    </tr>
    </tbody>
   </table>
 <p>For metadata of a video file, call <code>withmedia_info_get_video()</code> function with the media handle.</p>