diff options
author | Max Kellermann <max@duempel.org> | 2011-09-22 00:27:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-22 00:27:34 +0200 |
commit | 7e219c362cf8bca80f60a79b77d95a228ff8ffcb (patch) | |
tree | d2c44d848c59f074bd1f78dc94732404326d711e /src/decoder_internal.h | |
parent | 203f48d1fd490fa136df36b96d75d279e3c17047 (diff) | |
parent | 525a791987c66ed2f8b1ca9e5357836f536fdb8b (diff) | |
download | mpd-7e219c362cf8bca80f60a79b77d95a228ff8ffcb.tar.gz mpd-7e219c362cf8bca80f60a79b77d95a228ff8ffcb.tar.xz mpd-7e219c362cf8bca80f60a79b77d95a228ff8ffcb.zip |
Merge branch 'v0.16.x'
Conflicts:
src/player_thread.c
Diffstat (limited to 'src/decoder_internal.h')
-rw-r--r-- | src/decoder_internal.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/decoder_internal.h b/src/decoder_internal.h index 78a783f5e..d89e68cfc 100644 --- a/src/decoder_internal.h +++ b/src/decoder_internal.h @@ -36,6 +36,25 @@ struct decoder { */ double timestamp; + /** + * Is the initial seek (to the start position of the sub-song) + * pending, or has it been performed already? + */ + bool initial_seek_pending; + + /** + * Is the initial seek currently running? During this time, + * the decoder command is SEEK. This flag is set by + * decoder_get_virtual_command(), when the virtual SEEK + * command is generated for the first time. + */ + bool initial_seek_running; + + /** + * This flag is set by decoder_seek_where(), and checked by + * decoder_command_finished(). It is used to clean up after + * seeking. + */ bool seeking; /** |