"2001-1-1",
"METADATA_ROTATE",
"METADATA_VIDEO_CODEC",
- "MP3"};
+ "MP3",
+ "0"};
static char video_test_value[][MAX_LEN] = {"11883",
"909428",
"2014-01-01 09:01:11",
"90",
"MPEG4",
- "AAC"};
+ "AAC",
+ "0"};
static metadata_extractor_h g_metadata_h = NULL;
static int _startup_error = 0;
int attr, ret;
char *value = NULL;
- for (attr = 0; attr < (METADATA_AUDIO_CODEC + 1); attr++)
+ for (attr = 0; attr < (METADATA_360 + 1); attr++)
{
ret = metadata_extractor_get_metadata(NULL, attr, &value);
UTC_SAFE_FREE(value);
ret = metadata_extractor_set_path(g_metadata_h, audio_path);
assert_eq(ret, METADATA_EXTRACTOR_ERROR_NONE);
- for (attr = 0; attr < (METADATA_AUDIO_CODEC + 1); attr++) {
+ for (attr = 0; attr < (METADATA_360 + 1); attr++) {
if (attr == METADATA_VIDEO_CODEC)
continue;
ret = metadata_extractor_set_buffer(g_metadata_h, buffer, size);
assert_eq(ret, METADATA_EXTRACTOR_ERROR_NONE);
- for (attr = 0; attr < (METADATA_AUDIO_CODEC + 1); attr++) {
+ for (attr = 0; attr < (METADATA_360 + 1); attr++) {
if (attr == METADATA_VIDEO_CODEC)
continue;
ret = metadata_extractor_set_path(g_metadata_h, video_path);
assert_eq(ret, METADATA_EXTRACTOR_ERROR_NONE);
- for (attr = 0; attr < (METADATA_AUDIO_CODEC + 1); attr++)
+ for (attr = 0; attr < (METADATA_360 + 1); attr++)
{
ret = metadata_extractor_get_metadata(g_metadata_h, attr, &value);
assert_eq(ret, METADATA_EXTRACTOR_ERROR_NONE);