Add state of _reencode_j2k to the video identifier.
authorCarl Hetherington <cth@carlh.net>
Sun, 19 Sep 2021 20:58:02 +0000 (22:58 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 19 Sep 2021 20:58:02 +0000 (22:58 +0200)
Otherwise if we change the state of this and re-make a DCP it will
not re-encode the J2K.

src/lib/film.cc

index 94e996e19f3d2ac56168b49be5add86c14a5cf27..297da775047f114e3ac3ec01d89022676c84adc0 100644 (file)
@@ -267,6 +267,10 @@ Film::video_identifier () const
                s += "_3D";
        }
 
+       if (_reencode_j2k) {
+               s += "_R";
+       }
+
        return s;
 }