diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-26 18:57:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-26 18:57:37 +0000 |
| commit | 08daf11e8dea4314b4e3af647fa31e6ee63f92ac (patch) | |
| tree | bf7d88b082fa8d3136561cc66a367f9098b84162 /src/lib | |
| parent | 276bc34d4b6280e6e84e5648e20e0ab841f3bc6c (diff) | |
Fix subtitle position.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 9f9e35709..29c96833e 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -262,7 +262,7 @@ Player::emit_video (weak_ptr<Piece> weak_piece, shared_ptr<DecodedVideo> video) Position<int> const container_offset ( (_video_container_size.width - image_size.width) / 2, - (_video_container_size.height - image_size.width) / 2 + (_video_container_size.height - image_size.height) / 2 ); pi->set_subtitle (_out_subtitle.image, _out_subtitle.position + container_offset); |
