tag_id3: fix ID3v1 charset conversion
If we define id3v1_encoding, then the tags are not added to the database.
This commit is contained in:
parent
16123f1b8e
commit
7162fe85ce
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
||||||
ver 0.15.7 (2009/??/??)
|
ver 0.15.7 (2009/??/??)
|
||||||
|
* tags:
|
||||||
|
- id3: fix ID3v1 charset conversion
|
||||||
* decoders:
|
* decoders:
|
||||||
- ffmpeg: don't try to force stereo
|
- ffmpeg: don't try to force stereo
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ static id3_utf8_t * processID3FieldString (int is_id3v1, const id3_ucs4_t *ucs4,
|
||||||
|
|
||||||
utf8 = (id3_utf8_t *)
|
utf8 = (id3_utf8_t *)
|
||||||
g_convert_with_fallback((const char*)isostr, -1,
|
g_convert_with_fallback((const char*)isostr, -1,
|
||||||
encoding, "utf-8",
|
"utf-8", encoding,
|
||||||
NULL, NULL, NULL, NULL);
|
NULL, NULL, NULL, NULL);
|
||||||
if (utf8 == NULL) {
|
if (utf8 == NULL) {
|
||||||
g_debug("Unable to convert %s string to UTF-8: '%s'",
|
g_debug("Unable to convert %s string to UTF-8: '%s'",
|
||||||
|
|
Loading…
Reference in New Issue