diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2018-06-27 23:37:48 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2018-06-27 23:37:48 +0300 |
commit | 90416c6d7dfc96f8b5081e63698aed9545b15dc3 (patch) | |
tree | 2593b6fe779762420c97a70e329fc6653cfb181b | |
parent | f0d0aa50910ba9536f40e8a635bb4f70de84a76f (diff) |
More API cleanups
-rw-r--r-- | include/kitchensink/kitplayer.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/kitchensink/kitplayer.h b/include/kitchensink/kitplayer.h index 572e373..9d4857b 100644 --- a/include/kitchensink/kitplayer.h +++ b/include/kitchensink/kitplayer.h @@ -7,9 +7,6 @@ #include "kitchensink/kitcodec.h" #include <SDL2/SDL_render.h> -#include <SDL2/SDL_thread.h> -#include <SDL2/SDL_surface.h> -#include <SDL2/SDL_mutex.h> #ifdef __cplusplus extern "C" { @@ -25,8 +22,8 @@ typedef enum Kit_PlayerState { typedef struct Kit_Player { Kit_PlayerState state; ///< Playback state void *decoders[3]; ///< Decoder contexts - SDL_Thread *dec_thread; ///< Decoder thread - SDL_mutex *dec_lock; ///< Decoder lock + void *dec_thread; ///< Decoder thread + void *dec_lock; ///< Decoder lock const Kit_Source *src; ///< Reference to Audio/Video source double pause_started; ///< Temporary flag for handling pauses } Kit_Player; |