mmfile_value_t equi_projection_bounds_bottom_v2;
mmfile_value_t equi_projection_bounds_left_v2;
mmfile_value_t equi_projection_bounds_right_v2;
-
+ mmfile_value_t smta;
} TagContext_t;
typedef struct _ContentContext {
MM_FILE_TAG_SPHERICAL_V2_EQUI_BOUNDS_BOTTOM, &ctag.equi_projection_bounds_bottom_v2.value.i_val,
MM_FILE_TAG_SPHERICAL_V2_EQUI_BOUNDS_LEFT, &ctag.equi_projection_bounds_left_v2.value.i_val,
MM_FILE_TAG_SPHERICAL_V2_EQUI_BOUNDS_RIGHT, &ctag.equi_projection_bounds_right_v2.value.i_val,
+ MM_FILE_TAG_SMTA, &ctag.smta.value.i_val,
NULL);
if (ret != FILEINFO_ERROR_NONE && err_attr_name) {
printf("failed to get %s attrs\n", err_attr_name);
printf("# equi_projection_bounds_right_v2: [%d]\n", ctag.equi_projection_bounds_right_v2.value.i_val);
}
+ printf("# smta: [%d]\n", ctag.smta.value.i_val);
+
if (ctag.synclyrics_size.value.i_val > 0) {
int idx = 0;
unsigned long time_info = 0;
if (smtaTag.value == 0x01) {
debug_msg(RELEASE, "This has saut tag and valid value");
formatContext->smta = 1;
+ } else if (smtaTag.value == 0x02) {
+ debug_msg(RELEASE, "This has saut tag and valid value");
+ formatContext->smta = 2;
} else {
- debug_error(DEBUG, "This has saut tag and but invalid value");
+ debug_error(DEBUG, "This has saut tag but invalid value");
goto exception;
}
} else {