Fix warning. v2.13.45
authorCarl Hetherington <cth@carlh.net>
Wed, 29 Aug 2018 11:51:20 +0000 (12:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Aug 2018 11:51:20 +0000 (12:51 +0100)
src/lib/hints.cc
src/lib/hints.h

index f2e13f5033331a3a147817bdf89495adaf46b585..185626983ac171538f24cfcbb4f87edcdc7f0e41 100644 (file)
@@ -266,7 +266,7 @@ Hints::thread ()
        shared_ptr<Player> player (new Player (film, film->playlist ()));
        player->set_ignore_video ();
        player->set_ignore_audio ();
-       player->Text.connect (bind(&Hints::text, this, _1, _2, _3, _4));
+       player->Text.connect (bind(&Hints::text, this, _1, _2, _4));
        while (!player->pass ()) {
                bind (boost::ref(Pulse));
        }
@@ -281,7 +281,7 @@ Hints::hint (string h)
 }
 
 void
-Hints::text (PlayerText text, TextType type, optional<DCPTextTrack> track, DCPTimePeriod period)
+Hints::text (PlayerText text, TextType type, DCPTimePeriod period)
 {
        if (type != TEXT_CLOSED_CAPTION) {
                return;
index 9da0612861a27ecd866a01491a2c2dcf5cce25e9..b8bc806c010f8cb103d84d25931f0f06218ba40d 100644 (file)
@@ -47,7 +47,7 @@ private:
        void thread ();
        void stop_thread ();
        void hint (std::string h);
-       void text (PlayerText text, TextType type, boost::optional<DCPTextTrack> track, DCPTimePeriod period);
+       void text (PlayerText text, TextType type, DCPTimePeriod period);
 
        boost::weak_ptr<const Film> _film;
        boost::thread* _thread;