So, the problem code in MetadataExtractor.cc:
} else if (G_VALUE_HOLDS(val, GST_TYPE_DATE_TIME)) { if (tagname == GST_TAG_DATE_TIME) { GstDateTime *dt = static_cast<GstDateTime*>(g_value_get_boxed(val)); char *dt_string = gst_date_time_to_iso8601_string(dt); mfb->setDate(dt_string); g_free(dt_string); }
Where we aren't checking that the value stored in the GValue is NULL. I'd be interested to know what the date is set to in the problem file's metadata (e.g. as printed by the id3v2 utility).
So, the problem code in MetadataExtract or.cc:
} else if (G_VALUE_HOLDS(val, GST_TYPE_ DATE_TIME) ) {
GstDateTime *dt = static_ cast<GstDateTim e*>(g_value_ get_boxed( val));
char *dt_string = gst_date_ time_to_ iso8601_ string( dt);
mfb-> setDate( dt_string) ;
g_free( dt_string) ;
if (tagname == GST_TAG_DATE_TIME) {
}
Where we aren't checking that the value stored in the GValue is NULL. I'd be interested to know what the date is set to in the problem file's metadata (e.g. as printed by the id3v2 utility).