summaryrefslogtreecommitdiff
path: root/src/wx/film_editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_editor.cc')
-rw-r--r--src/wx/film_editor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 80d069ae5..0857b780a 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -1077,11 +1077,11 @@ FilmEditor::content_add_clicked (wxCommandEvent &)
boost::filesystem::path p (wx_to_std (paths[i]));
if (ImageMagickContent::valid_file (p)) {
- _film->add_content (shared_ptr<ImageMagickContent> (new ImageMagickContent (p)));
+ _film->add_content (shared_ptr<ImageMagickContent> (new ImageMagickContent (_film, p)));
} else if (SndfileContent::valid_file (p)) {
- _film->add_content (shared_ptr<SndfileContent> (new SndfileContent (p)));
+ _film->add_content (shared_ptr<SndfileContent> (new SndfileContent (_film, p)));
} else {
- _film->add_content (shared_ptr<FFmpegContent> (new FFmpegContent (p)));
+ _film->add_content (shared_ptr<FFmpegContent> (new FFmpegContent (_film, p)));
}
}
}