19 #ifndef CLOSEDCAPTIONS_H
20 #define CLOSEDCAPTIONS_H
22 #include "vlCCConstants.h"
31 bool start(
void* pVidDecoderHandle);
33 void setVisible(
bool is_visible);
34 bool setEnabled(
bool bNewState);
35 bool isEnabled() {
return m_isCCEnabled; }
36 std::string getAvailableTracks();
38 void setAttribute(std::map<std::string, std::string> options);
41 bool ccParentalLockStart();
42 bool ccParentalLockStop();
43 void ccGfxPreResolution(
unsigned id);
44 void ccGfxSetResolution(
unsigned id,
int width,
int height);
45 void ccGfxPostResolution(
int id,
int width,
int height);
46 bool stopCCatEAS () {
return ccStop(); }
47 bool stopCCatTrickMode ();
48 bool startCCatNormalMode ();
49 std::map<std::string, std::string> getSupportedOptions();
50 bool setTrack(
const std::string& track);
64 std::map<std::string, std::string> m_ccOptions;
68 bool m_isCCReaderStarted;
69 bool m_isParentalBlocked;
70 bool m_isCCStopedAtTrickMode;
71 int m_CCVisibilityStatus;
72 static bool m_wasLoadedOnce;