diff options
author | Max Kellermann <max@duempel.org> | 2011-12-24 11:20:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-12-24 11:20:02 +0100 |
commit | 99949c8f6fad1e2ef6aec5b742c8048d67b8280c (patch) | |
tree | 24449ca309778f02f29fb943765dc3b39d192904 /src/decoder/ffmpeg_decoder_plugin.c | |
parent | 78c4351e04629d701a3652da9af98b080fd9f2b8 (diff) | |
download | mpd-99949c8f6fad1e2ef6aec5b742c8048d67b8280c.tar.gz mpd-99949c8f6fad1e2ef6aec5b742c8048d67b8280c.tar.xz mpd-99949c8f6fad1e2ef6aec5b742c8048d67b8280c.zip |
command: new command "seekcur"
For simpler seeking within current song.
Diffstat (limited to '')
-rw-r--r-- | src/decoder/ffmpeg_decoder_plugin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 14727715b..5dc95ccf8 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -432,6 +432,11 @@ ffmpeg_decode(struct decoder *decoder, struct input_stream *input) decoder_initialized(decoder, &audio_format, input->seekable, total_time); + AVDictionaryEntry *entry = + av_dict_get(format_context->metadata, "replaygain_track_gain", NULL, 0); + if (entry != NULL) + g_printerr("replaygain_track_gain=%s\n", entry->value); + enum decoder_command cmd; do { AVPacket packet; |