#include <iomanip>
#include <stdint.h>
#include "frame_rate_change.h"
+#include "safe_stringstream.h"
class dcpomatic_round_up_test;
int f;
split (r, h, m, s, f);
- std::ostringstream o;
+ SafeStringStream o;
o.width (2);
o.fill ('0');
o << std::setw(2) << std::setfill('0') << h << ":"
#include "subtitle_content.h"
#include "util.h"
#include "exceptions.h"
+#include "safe_stringstream.h"
#include "i18n.h"
using std::string;
-using std::stringstream;
using std::vector;
using std::cout;
using boost::shared_ptr;
string
SubtitleContent::identifier () const
{
- stringstream s;
+ SafeStringStream s;
s << Content::identifier()
<< "_" << raw_convert<string> (subtitle_scale())
<< "_" << raw_convert<string> (subtitle_x_offset())