From a06e2814212b929c5079762b02390c849cfc116d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 12 Feb 2009 18:39:04 +0100 Subject: [PATCH] aac: fix stream metadata Pass the input_stream object to decoder_data(). Without it, the MPD core does not see stream tags. --- NEWS | 1 + src/decoder/aac_plugin.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 95cda402f..f1018bb22 100644 --- a/NEWS +++ b/NEWS @@ -48,6 +48,7 @@ ver 0.14.2 (2009/??/??) - ffmpeg: added TTA support - wavpack: pass NULL if the .wvc file fails to open - mikmod: call MikMod_Exit() only in the finish() method + - aac: fix stream metadata * audio outputs: - jack: allocate ring buffers before connecting - jack: clear "shutdown" flag on reconnect diff --git a/src/decoder/aac_plugin.c b/src/decoder/aac_plugin.c index 90d39113b..694075415 100644 --- a/src/decoder/aac_plugin.c +++ b/src/decoder/aac_plugin.c @@ -431,7 +431,7 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream) sampleBufferLen = sampleCount * 2; - cmd = decoder_data(mpd_decoder, NULL, sampleBuffer, + cmd = decoder_data(mpd_decoder, inStream, sampleBuffer, sampleBufferLen, file_time, bitRate, NULL); if (cmd == DECODE_COMMAND_SEEK)