X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffilm.cc;h=0138211cf0c49d823f3357fbdca62108a68dbe2c;hp=6764a5be6c175252bf7fec8126a305d65038ae75;hb=422be0eece2bf6ee80db1d3c21553cd82efff789;hpb=e34db1b3cdb5bce5ddcb112ee03664a4e463032a diff --git a/src/lib/film.cc b/src/lib/film.cc index 6764a5be6..0138211cf 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -38,7 +38,6 @@ #include "dcp_content_type.h" #include "ratio.h" #include "cross.h" -#include "safe_stringstream.h" #include "environment_info.h" #include "raw_convert.h" #include "audio_processor.h" @@ -52,6 +51,7 @@ #include "dcp_content.h" #include "screen_kdm.h" #include "cinema.h" +#include #include #include #include @@ -197,7 +197,7 @@ Film::video_identifier () const { DCPOMATIC_ASSERT (container ()); - SafeStringStream s; + locked_stringstream s; s.imbue (std::locale::classic ()); s << container()->id() @@ -530,7 +530,7 @@ Film::mapped_audio_channels () const string Film::isdcf_name (bool if_created_now) const { - SafeStringStream d; + locked_stringstream d; string raw_name = name (); @@ -922,7 +922,7 @@ Film::j2c_path (int reel, Frame frame, Eyes eyes, bool tmp) const p /= "j2c"; p /= video_identifier (); - SafeStringStream s; + locked_stringstream s; s.width (8); s << setfill('0') << reel << "_" << frame;