projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop playback if there is a problem with decoding (#39).
[dcpomatic.git]
/
src
/
wx
/
film_viewer.cc
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 7b8f0222006560ad3611cfbde747d25376e032a3..0b3fb0fd26bd85d2180b7f02a44d751fb1b9968e 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-377,6
+377,8
@@
FilmViewer::get_frame ()
}
}
} catch (DecodeError& e) {
+ _play_button->SetValue (false);
+ check_play_state ();
error_dialog (this, String::compose ("Could not decode video for view (%1)", e.what()));
}
}