From 194033440e2552a820c3b8197198402acee67c5b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 17 Oct 2015 02:46:25 +0300 Subject: [PATCH] Rename check_info to update_info --- source/xinestream.cpp | 6 +++--- source/xinestream.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 &); }; -- 2.45.2