X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/81ffdf5509cc46accb9d607ac5e51ae07d38c041..cc08c5bf0ff1d0d347703c9660aaac376e66f697:/lib/service/servicemp3.h diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index a8139573..d54997a6 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -1,7 +1,6 @@ #ifndef __servicemp3_h #define __servicemp3_h -#ifdef HAVE_GSTREAMER #include #include #include @@ -168,7 +167,7 @@ public: int bufferPercent; int avgInRate; int avgOutRate; - long long bufferingLeft; + int64_t bufferingLeft; bufferInfo() :bufferPercent(0), avgInRate(0), avgOutRate(0), bufferingLeft(-1) { @@ -212,9 +211,13 @@ private: std::list m_subtitle_pages; ePtr m_subtitle_sync_timer; + + ePtr m_streamingsrc_timeout; void pushSubtitles(); void pullSubtitle(); + void sourceTimeout(); int m_subs_to_pull; + sourceStream m_sourceinfo; eSingleLock m_subs_to_pull_lock; gulong m_subs_to_pull_handler_id; @@ -224,6 +227,5 @@ private: std::string m_useragent; RESULT trickSeek(gdouble ratio); }; -#endif #endif