]> git.tdb.fi Git - xinema.git/commitdiff
Rename check_info to update_info
authorMikko Rasa <tdb@tdb.fi>
Fri, 16 Oct 2015 23:46:25 +0000 (02:46 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 16 Oct 2015 23:46:25 +0000 (02:46 +0300)
source/xinestream.cpp
source/xinestream.h

index 0e038a77974fb5da2ee997922654ae0308e18d84..6cc3d7546847af6593007ca746121e56ef856f64 100644 (file)
@@ -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()))
index 832e3a72b0bfd34470d0af2b4c06dd6438644762..c03dd0324f1dc2cc46da810ef9d34dffcd6a0a85 100644 (file)
@@ -53,7 +53,7 @@ private:
 public:
        void tick();
 private:
-       void check_info();
+       void update_info();
        void handle_event(const xine_event_t &);
 };