projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37d4e4
)
Fix initial display of frame.
author
Carl Hetherington
<cth@carlh.net>
Tue, 9 Jul 2013 22:11:01 +0000
(23:11 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 9 Jul 2013 22:11:01 +0000
(23:11 +0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 6d7181b5fae3a74f3a6165f5c937747629489620..e5d07a118e28cfb510a3b4528672712dac4766eb 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-131,6
+131,7
@@
FilmViewer::set_film (shared_ptr<Film> f)
_player->Video.connect (boost::bind (&FilmViewer::process_video, this, _1, _2, _3));
_player->Changed.connect (boost::bind (&FilmViewer::player_changed, this));
+ calculate_sizes ();
fetch_current_frame_again ();
}
@@
-211,6
+212,7
@@
FilmViewer::panel_sized (wxSizeEvent& ev)
{
_panel_size.width = ev.GetSize().GetWidth();
_panel_size.height = ev.GetSize().GetHeight();
+ calculate_sizes ();
fetch_current_frame_again ();
}