diff options
Diffstat (limited to 'src/wx/content_panel.cc')
| -rw-r--r-- | src/wx/content_panel.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 2dc75f8c2..4d73a608d 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -248,12 +248,7 @@ ContentPanel::add_file_clicked () /* XXX: check for lots of files here and do something */ for (unsigned int i = 0; i < paths.GetCount(); ++i) { - shared_ptr<Content> c = content_factory (_film, wx_to_std (paths[i])); - shared_ptr<ImageContent> ic = dynamic_pointer_cast<ImageContent> (c); - if (ic) { - ic->set_video_frame_rate (24); - } - _film->examine_and_add_content (c, true); + _film->examine_and_add_content (content_factory (_film, wx_to_std (paths[i])), true); } d->Destroy (); |
