- ret = media_info_get_audio(media, &audio);
- if (ret != MEDIA_CONTENT_ERROR_NONE)
- content_error("error media_info_get_audio : [%d]", ret);
- else
- get_audio_meta(audio);
-
- ret = audio_meta_destroy(audio);
- if (ret != MEDIA_CONTENT_ERROR_NONE)
- content_error("error audio_meta_destroy : [%d]", ret);
-
- } else if (media_type == MEDIA_CONTENT_TYPE_IMAGE) {
- image_meta_h image;
-
- ret = media_info_get_image(media, &image);
- if (ret != MEDIA_CONTENT_ERROR_NONE)
- content_error("error media_info_get_image : [%d]", ret);
- else
- get_image_meta(image);
-
- ret = image_meta_destroy(image);
- if (ret != MEDIA_CONTENT_ERROR_NONE)
- content_error("error image_meta_destroy : [%d]", ret);
-
- } else if (media_type == MEDIA_CONTENT_TYPE_VIDEO) {
- video_meta_h video;
-
- ret = media_info_get_video(media, &video);
- if (ret != MEDIA_CONTENT_ERROR_NONE)
- content_error("error media_info_get_video : [%d]", ret);
- else
- get_video_meta(video);