X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fservice%2Fservicemp3.h;h=01ed13a0fa61995db6729ef8c88f279412419d18;hp=11bf125c94051d60898cd06199f5b059f684cecb;hb=4f0779fd3cd5951698d537c721dc17e85f15a681;hpb=685f45442990ede7b2b3bc92177e419d9de7aad3 diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index 11bf125..01ed13a 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -50,12 +50,6 @@ typedef enum { atUnknown, atMPEG, atMP3, atAC3, atDTS, atAAC, atPCM, atOGG, atFL typedef enum { stUnknown, stPlainText, stSSA, stASS, stSRT, stVOB, stPGS } subtype_t; typedef enum { ctNone, ctMPEGTS, ctMPEGPS, ctMKV, ctAVI, ctMP4, ctVCD, ctCDA } containertype_t; -struct SubtitlePage -{ - ePangoSubtitlePage *pango_page; - eVobSubtitlePage *vob_page; -}; - class eServiceMP3: public iPlayableService, public iPauseableService, public iServiceInformation, public iSeekableService, public iAudioTrackSelection, public iAudioChannelSelection, public iSubtitleOutput, public iStreamedService, public iAudioDelay, public Object @@ -255,6 +249,13 @@ private: GstSegment m_gst_subtitle_segment; GstPadEventFunction m_gst_sink_event; + struct SubtitlePage + { + enum { Unknown, Pango, Vob } type; + ePangoSubtitlePage pango_page; + eVobSubtitlePage vob_page; + }; + std::list m_subtitle_pages; ePtr m_subtitle_sync_timer; ePtr m_subtitle_hide_timer;