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));
+ player->Text.connect (bind(&Hints::text, this, _1, _2, _4));
while (!player->pass ()) {
bind (boost::ref(Pulse));
}
return;
}
- int lines = text.text.size();
- BOOST_FOREACH (StringText i, text.text) {
+ int lines = text.string.size();
+ BOOST_FOREACH (StringText i, text.string) {
if (i.text().length() > CLOSED_CAPTION_LENGTH) {
++lines;
if (!_long_ccap) {