From: Mikko Rasa Date: Fri, 16 Oct 2015 23:46:25 +0000 (+0300) Subject: Rename check_info to update_info X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=194033440e2552a820c3b8197198402acee67c5b;p=xinema.git Rename check_info to update_info --- diff --git a/source/xinestream.cpp b/source/xinestream.cpp index 0e038a7..6cc3d75 100644 --- a/source/xinestream.cpp +++ b/source/xinestream.cpp @@ -14,7 +14,7 @@ XineStream::XineStream(XineEngine &e, const string &mrl): queue = xine_event_new_queue(stream); - check_info(); + update_info(); engine.add_stream(*this); } @@ -81,10 +81,10 @@ void XineStream::tick() xine_event_free(event); } - check_info(); + update_info(); } -void XineStream::check_info() +void XineStream::update_info() { const char *xt = xine_get_meta_info(stream, XINE_META_INFO_TITLE); if((xt && title.compare(xt)) || (!xt && !title.empty())) diff --git a/source/xinestream.h b/source/xinestream.h index 832e3a7..c03dd03 100644 --- a/source/xinestream.h +++ b/source/xinestream.h @@ -53,7 +53,7 @@ private: public: void tick(); private: - void check_info(); + void update_info(); void handle_event(const xine_event_t &); };