From 0e419d38c25f611240a93bc99eb7f6301fa77b8a Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 28 Jun 2004 23:40:08 +0000 Subject: set flac_metadata_respond(VORBIS_COMMENT) so that flac responds to vorbis comments and returns these to the metadata callback (so we can properly set the replaygain state) git-svn-id: https://svn.musicpd.org/mpd/trunk@1707 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/flac_plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/inputPlugins') diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index 492d5a80a..eec99f233 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -110,6 +110,8 @@ int flac_decode(OutputBuffer * cb, DecoderControl *dc, char * path) { flacWrite); status&=FLAC__seekable_stream_decoder_set_metadata_callback(flacDec, flacMetadata); + status&=FLAC__seekable_stream_decoder_set_metadata_respond(flacDec, + FLAC__METADATA_TYPE_VORBIS_COMMENT); status&=FLAC__seekable_stream_decoder_set_error_callback(flacDec, flacError); status&=FLAC__seekable_stream_decoder_set_client_data(flacDec, -- cgit v1.2.3