From 83c7de004e67600f83c2ef1ae556e67e83365141 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 10 May 2013 18:19:48 +0400 Subject: [PATCH] lib/libcoolstream/playback_cs.h: new header --- lib/libcoolstream/playback_cs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libcoolstream/playback_cs.h b/lib/libcoolstream/playback_cs.h index a9192bfdc..f65bdc6f0 100644 --- a/lib/libcoolstream/playback_cs.h +++ b/lib/libcoolstream/playback_cs.h @@ -11,6 +11,8 @@ #define __PLAYBACK_CS_H_ #include +#include +#include typedef enum { PLAYMODE_TS = 0, @@ -61,7 +63,9 @@ public: bool IsEnabled(void) const { return enabled; } void FindAllPids(playback_audio_pid_info_t *audiopids, uint16_t size, uint16_t *numpida); void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language); - + void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language); + bool SelectSubtitles(int pid); + void GetChapters(std::vector &positions, std::vector &titles); }; #endif // __PLAYBACK_CS_H_