aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_control.h')
-rw-r--r--src/player_control.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 441c055cd..508798fff 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -62,6 +62,10 @@ enum player_error {
struct player_control {
unsigned int buffered_before_play;
+ /** the handle of the player thread, or NULL if the player
+ thread isn't running */
+ GThread *thread;
+
struct notify notify;
volatile enum player_command command;
volatile enum player_state state;