summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-02 12:27:49 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-02 12:27:49 +0000
commit044ae60c8c0da7dc1a6b667b657d342aa770c42b (patch)
tree1effe3c87d6786ef0a82d9b9088d36cdee1cc657 /src/wx
parentab1a666e724911c41dfe08fc96748b38ace839c1 (diff)
Offer non-stretching formats with video as well as still content (#69).
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_editor.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 362243ef3..24f6c2461 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -982,9 +982,7 @@ FilmEditor::setup_formats ()
vector<Format const *> fmt = Format::all ();
for (vector<Format const *>::iterator i = fmt.begin(); i != fmt.end(); ++i) {
- if (c == VIDEO && dynamic_cast<FixedFormat const *> (*i)) {
- _formats.push_back (*i);
- } else if (c == STILL && dynamic_cast<VariableFormat const *> (*i)) {
+ if (c == VIDEO || (c == STILL && dynamic_cast<VariableFormat const *> (*i))) {
_formats.push_back (*i);
}
}