From 20bfdbb781575fd6ee3c6e8624a09e314b65a162 Mon Sep 17 00:00:00 2001 From: Tuomas Virtanen Date: Fri, 15 Jan 2016 00:33:47 +0200 Subject: Initial work on subtitle streams --- include/kitchensink/kitplayer.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'include/kitchensink/kitplayer.h') diff --git a/include/kitchensink/kitplayer.h b/include/kitchensink/kitplayer.h index a0f97ad..ea86b31 100644 --- a/include/kitchensink/kitplayer.h +++ b/include/kitchensink/kitplayer.h @@ -24,6 +24,7 @@ typedef enum Kit_PlayerState { } Kit_PlayerState; typedef struct Kit_AudioFormat { + int stream_idx; ///< Stream index bool is_enabled; ///< Is stream enabled unsigned int format; ///< SDL Audio Format bool is_signed; ///< Signedness @@ -33,17 +34,24 @@ typedef struct Kit_AudioFormat { } Kit_AudioFormat; typedef struct Kit_VideoFormat { - bool is_enabled; ///