summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 8aedd7639..942801a9f 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -998,6 +998,15 @@ Film::set_content (string c)
if (content_type() == STILL) {
set_use_content_audio (false);
}
+
+#ifdef DVDOMATIC_WINDOWS
+ string ffprobe = "ffprobe.exe ";
+#else
+ string ffprobe = "ffprobe ";
+#endif
+ ffprobe += c;
+ ffprobe += " 2> " + file ("ffprobe.log");
+ system (ffprobe.c_str ());
}
void