projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62f86da
)
Try to fix left-over frame when making a new filme.
author
Carl Hetherington
<cth@carlh.net>
Wed, 10 Apr 2013 11:38:07 +0000
(12:38 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 10 Apr 2013 11:38:07 +0000
(12:38 +0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 18ddf1eb2cb585c351ec075de2dffd720abeb43e..dbbff37133ff5d7e97ffbacfb8e8e409f06da214 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-148,6
+148,11
@@
FilmViewer::set_film (shared_ptr<Film> f)
_film = f;
+ _raw_frame.reset ();
+ _display_frame.reset ();
+ _panel->Refresh ();
+ _panel->Update ();
+
if (!_film) {
return;
}