aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/aac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-12 18:39:04 +0100
committerMax Kellermann <max@duempel.org>2009-02-12 18:39:19 +0100
commita06e2814212b929c5079762b02390c849cfc116d (patch)
treee29a573ba349e9c80582609a4a2a2f85fe9e497c /src/decoder/aac_plugin.c
parentd55f6b53048a26ae495294c36aade82d97b46606 (diff)
downloadmpd-a06e2814212b929c5079762b02390c849cfc116d.tar.gz
mpd-a06e2814212b929c5079762b02390c849cfc116d.tar.xz
mpd-a06e2814212b929c5079762b02390c849cfc116d.zip
aac: fix stream metadata
Pass the input_stream object to decoder_data(). Without it, the MPD core does not see stream tags.
Diffstat (limited to 'src/decoder/aac_plugin.c')
-rw-r--r--src/decoder/aac_plugin.c2
1 files changed, 1 insertions, 1 deletions
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)