command: new command "seekcur"

For simpler seeking within current song.
This commit is contained in:
Max Kellermann
2011-12-24 11:20:02 +01:00
parent 78c4351e04
commit 99949c8f6f
6 changed files with 75 additions and 0 deletions

View File

@@ -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;