diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-02-02 14:16:12 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-02-02 14:16:12 +0000 |
| commit | 8b4aa224882d2451f81c0a3ad07ec2d4ea098d5a (patch) | |
| tree | 24e2c81554b9c4f89840f69f5412bb34a1f86b39 /src | |
| parent | 0b5fbf1d2d3414234cb5c703bb9bf73960555358 (diff) | |
Stop playback if there is a problem with decoding (#39).
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 7b8f02220..0b3fb0fd2 100644 --- 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())); } } |
