diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/id3tag/id3tag.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c index 5c3673b3..dd7bb04f 100644 --- a/gst/id3tag/id3tag.c +++ b/gst/id3tag/id3tag.c @@ -1191,6 +1191,9 @@ id3_mux_render_v1_tag (GstTagMux * mux, GstTagList * taglist) data[1] = 'A'; data[2] = 'G'; + /* Genre #0 stands for 'Blues', so init genre field to an invalid number */ + data[127] = 255; + for (i = 0; i < G_N_ELEMENTS (v1_funcs); i++) { v1_funcs[i].func (taglist, v1_funcs[i].gst_tag, data + v1_funcs[i].offset, v1_funcs[i].length, &wrote_tag); |