summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-01 14:49:46 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-03 01:28:36 +0100
commit0ae77cead48b7d6e94b3913e40254826dfe43277 (patch)
tree001d20673d174dd5e1a33d44e9927703f462919a /src/lib/player.cc
parentf7d69b1fd3895635630d9ef8a04dffbedae80ed1 (diff)
Cleanup: rename subtitle_stop -> text_stop.
Diffstat (limited to 'src/lib/player.cc')
-rw-r--r--src/lib/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 89df880d8..e5abaae68 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -353,7 +353,7 @@ Player::setup_pieces()
bind(&Player::plain_text_start, this, weak_ptr<Piece>(piece), weak_ptr<const TextContent>((*j)->content()), _1)
);
(*j)->Stop.connect(
- bind(&Player::subtitle_stop, this, weak_ptr<Piece>(piece), weak_ptr<const TextContent>((*j)->content()), _1)
+ bind(&Player::text_stop, this, weak_ptr<Piece>(piece), weak_ptr<const TextContent>((*j)->content()), _1)
);
++j;
@@ -1329,7 +1329,7 @@ Player::plain_text_start(weak_ptr<Piece> weak_piece, weak_ptr<const TextContent>
void
-Player::subtitle_stop(weak_ptr<Piece> weak_piece, weak_ptr<const TextContent> weak_content, ContentTime to)
+Player::text_stop(weak_ptr<Piece> weak_piece, weak_ptr<const TextContent> weak_content, ContentTime to)
{
if (_suspended) {
return;