diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:07 +0200 |
commit | 78c55e24324c881541a87cd0003c60f378a43d68 (patch) | |
tree | 58c98af2f47721e12b195e40b89f6986711083d4 /src/inputPlugins/mp4_plugin.c | |
parent | 817a68b2b27dc65fb5fc550c83117832e8048c6f (diff) | |
download | mpd-78c55e24324c881541a87cd0003c60f378a43d68.tar.gz mpd-78c55e24324c881541a87cd0003c60f378a43d68.tar.xz mpd-78c55e24324c881541a87cd0003c60f378a43d68.zip |
added decoder_command_finished() to decoder_api.h
Some decoder commands are implemented in the decoder plugins, thus
they need to have an API call to signal that their current command has
been finished. Let them use the new decoder_command_finished()
instead of the internal dc_command_finished().
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/mp4_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c index 91bf68e02..2ebb2a49e 100644 --- a/src/inputPlugins/mp4_plugin.c +++ b/src/inputPlugins/mp4_plugin.c @@ -213,7 +213,7 @@ static int mp4_decode(struct decoder * mpd_decoder, InputStream * inStream) seekPositionFound = 0; decoder_clear(mpd_decoder); seeking = 0; - dc_command_finished(); + decoder_command_finished(mpd_decoder); } if (seeking) @@ -284,7 +284,7 @@ static int mp4_decode(struct decoder * mpd_decoder, InputStream * inStream) if (decoder_get_command(mpd_decoder) == DECODE_COMMAND_SEEK && seeking) { decoder_clear(mpd_decoder); - dc_command_finished(); + decoder_command_finished(mpd_decoder); } decoder_flush(mpd_decoder); |