summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/film.cc')
-rw-r--r--src/lib/film.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 3af1a5e18..b0276086a 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -772,7 +772,7 @@ Film::read_metadata(optional<boost::filesystem::path> path)
* Before 2.18.26 we wrote IDs which might now fail. In 2.18.30 we added this check, to mistrust
* any existing IDs and to re-create them.
*/
- if (last_written_by_earlier_than(2, 18, 30)) {
+ if (!last_written_by_git() && last_written_by_earlier_than(2, 18, 30)) {
for (auto content: _playlist->content()) {
if (auto ffmpeg = dynamic_pointer_cast<FFmpegContent>(content)) {
ffmpeg->remove_stream_ids();