diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-02-01 14:49:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-02-03 01:28:36 +0100 |
| commit | 0ae77cead48b7d6e94b3913e40254826dfe43277 (patch) | |
| tree | 001d20673d174dd5e1a33d44e9927703f462919a | |
| parent | f7d69b1fd3895635630d9ef8a04dffbedae80ed1 (diff) | |
Cleanup: rename subtitle_stop -> text_stop.
| -rw-r--r-- | src/lib/player.cc | 4 | ||||
| -rw-r--r-- | src/lib/player.h | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/src/lib/player.h b/src/lib/player.h index 70c080475..5148ad3a1 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -166,7 +166,7 @@ private: void audio(std::weak_ptr<Piece>, AudioStreamPtr, ContentAudio); void bitmap_text_start(std::weak_ptr<Piece>, std::weak_ptr<const TextContent>, ContentBitmapText); void plain_text_start(std::weak_ptr<Piece>, std::weak_ptr<const TextContent>, ContentStringText); - void subtitle_stop(std::weak_ptr<Piece>, std::weak_ptr<const TextContent>, dcpomatic::ContentTime); + void text_stop(std::weak_ptr<Piece>, std::weak_ptr<const TextContent>, dcpomatic::ContentTime); void atmos(std::weak_ptr<Piece>, ContentAtmos); dcpomatic::DCPTime one_video_frame() const; |
