Commit a06e2814 authored by Max Kellermann's avatar Max Kellermann

aac: fix stream metadata

Pass the input_stream object to decoder_data(). Without it, the MPD core does not see stream tags.
parent d55f6b53
...@@ -48,6 +48,7 @@ ver 0.14.2 (2009/??/??) ...@@ -48,6 +48,7 @@ ver 0.14.2 (2009/??/??)
- ffmpeg: added TTA support - ffmpeg: added TTA support
- wavpack: pass NULL if the .wvc file fails to open - wavpack: pass NULL if the .wvc file fails to open
- mikmod: call MikMod_Exit() only in the finish() method - mikmod: call MikMod_Exit() only in the finish() method
- aac: fix stream metadata
* audio outputs: * audio outputs:
- jack: allocate ring buffers before connecting - jack: allocate ring buffers before connecting
- jack: clear "shutdown" flag on reconnect - jack: clear "shutdown" flag on reconnect
......
...@@ -431,7 +431,7 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream) ...@@ -431,7 +431,7 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
sampleBufferLen = sampleCount * 2; sampleBufferLen = sampleCount * 2;
cmd = decoder_data(mpd_decoder, NULL, sampleBuffer, cmd = decoder_data(mpd_decoder, inStream, sampleBuffer,
sampleBufferLen, file_time, sampleBufferLen, file_time,
bitRate, NULL); bitRate, NULL);
if (cmd == DECODE_COMMAND_SEEK) if (cmd == DECODE_COMMAND_SEEK)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment