[gstreamer-bugs] [Bug 311679] LAME element doesn't write GST_TAG_DATE correctly
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Thu Jul 28 08:59:02 PDT 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=311679
GStreamer | gst-plugins | Ver: 0.8.x
Bastien Nocera changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
everconfirmed|0 |1
------- Additional Comments From Bastien Nocera 2005-07-28 15:59 -------
It can only write a year, not a full date (ie. this isn't a free-form string, it
can only contain a 4 digit date):
void
id3tag_set_year(lame_global_flags *gfp, const char *year)
{
lame_internal_flags *gfc = gfp->internal_flags;
if (year && *year) {
int num = atoi(year);
if (num < 0) {
num = 0;
}
/* limit a year to 4 digits so it fits in a version 1 tag */
if (num > 9999) {
num = 9999;
}
if (num) {
gfc->tag_spec.year = num;
gfc->tag_spec.flags |= CHANGED_FLAG;
}
}
}
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list