aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggflac_plugin.c
diff options
context:
space:
mode:
authorMario Lenz <m@riolenz.de>2009-03-15 23:31:07 +0100
committerMax Kellermann <max@duempel.org>2009-03-16 19:38:34 +0100
commit36dab871f12a6e82a7837e782e79a4ec3828de64 (patch)
tree9bb57001d965d2a1a38712b9f9e4ffd5ad04969a /src/decoder/oggflac_plugin.c
parentd47ef51cb351e8ad09ee7688749cb63a18f42916 (diff)
downloadmpd-36dab871f12a6e82a7837e782e79a4ec3828de64.tar.gz
mpd-36dab871f12a6e82a7837e782e79a4ec3828de64.tar.xz
mpd-36dab871f12a6e82a7837e782e79a4ec3828de64.zip
flac: get CUE track titles from additional FLAC comments
The cue sheet embedded in a flac file doen't contain any information about track titles and similar. There are three possibilities: Use an external cue sheet that includes these information, use a tag CUESHEET with a cue sheet including these information or use tags. I think the latter is the best option and is already used by other projects.
Diffstat (limited to 'src/decoder/oggflac_plugin.c')
-rw-r--r--src/decoder/oggflac_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/oggflac_plugin.c b/src/decoder/oggflac_plugin.c
index d31df76d5..fedfdcb48 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -180,7 +180,7 @@ static void of_metadata_dup_cb(G_GNUC_UNUSED const OggFLAC__SeekableStreamDecode
block->data.stream_info.sample_rate + 0.5;
return;
case FLAC__METADATA_TYPE_VORBIS_COMMENT:
- flac_vorbis_comments_to_tag(data->tag, block);
+ flac_vorbis_comments_to_tag(data->tag, NULL, block);
default:
break;
}