Replaced deprecated METADATA_AUTHOR. 78/195878/1 submit/tizen/20181220.184823
authorAshima Garg <ashima.garg@samsung.com>
Wed, 19 Dec 2018 14:22:43 +0000 (19:52 +0530)
committerAshima Garg <ashima.garg@samsung.com>
Wed, 19 Dec 2018 14:22:43 +0000 (19:52 +0530)
This patch replaced use of METADATA_AUTHOR in metadata-extractor to METADATA_COMPOSER.

Change-Id: Ie100cf96e5c8d61eb11db95b3877720f2e7b36b7
Signed-off-by: Ashima Garg <ashima.garg@samsung.com>
src/core/mp-file-tag-info.c

index 1c97106..29204fb 100644 (file)
@@ -98,7 +98,7 @@ mp_file_tag_info_get_all_tag(const char *filename,
                                                                        &tag_info->title);
        metadata_extractor_get_metadata(handle, METADATA_GENRE,
                                                                        &tag_info->genre);
-       metadata_extractor_get_metadata(handle, METADATA_AUTHOR,
+       metadata_extractor_get_metadata(handle, METADATA_COMPOSER,
                                                                        &tag_info->author);
        metadata_extractor_get_metadata(handle, METADATA_COPYRIGHT,
                                                                        &tag_info->copyright);