X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilter_graph.cc;h=d2427c31faf35957b251320d1d091fce2e54b161;hb=391d85619ac19a2a93696ddc35c222eb9bb5d9d6;hp=f6a6c4529df2376bc08f81a2adaf721d5516459d;hpb=94201bd2a5a4cb391b7f2bdeba56b928fed7cfe1;p=dcpomatic.git diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc index f6a6c4529..d2427c31f 100644 --- a/src/lib/filter_graph.cc +++ b/src/lib/filter_graph.cc @@ -34,10 +34,10 @@ extern "C" { #include "exceptions.h" #include "image.h" #include "ffmpeg_content.h" +#include "safe_stringstream.h" #include "i18n.h" -using std::stringstream; using std::string; using std::list; using std::pair; @@ -83,7 +83,7 @@ FilterGraph::FilterGraph (shared_ptr content, dcp::Size s, throw DecodeError (N_("Could not create buffer sink filter")); } - stringstream a; + SafeStringStream a; a << "video_size=" << _size.width << "x" << _size.height << ":" << "pix_fmt=" << _pixel_format << ":" << "time_base=1/1:"