projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
276bc34
)
Fix subtitle position.
author
Carl Hetherington
<cth@carlh.net>
Thu, 26 Dec 2013 18:57:37 +0000
(18:57 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 26 Dec 2013 18:57:37 +0000
(18:57 +0000)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 9f9e35709c00493aeed109b2d40b8c7ef1ad5965..29c96833e9c035e72963d4b3949b3b58404391fd 100644
(file)
--- 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);