summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 a97562b98..a19d2fff1 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -1067,9 +1067,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);
}
}