diff options
Diffstat (limited to 'src/lib/options.h')
| -rw-r--r-- | src/lib/options.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/options.h b/src/lib/options.h index 4457969f3..10cdfa8cd 100644 --- a/src/lib/options.h +++ b/src/lib/options.h @@ -54,15 +54,11 @@ public: * @param t true to return a temporary file path, otherwise a permanent one. * @return The path to write this video frame to. */ - std::string frame_out_path (SourceFrame f, bool t, std::string e = "") const { - if (e.empty ()) { - e = _frame_out_extension; - } - + std::string frame_out_path (SourceFrame f, bool t) const { std::stringstream s; s << _frame_out_path << "/"; s.width (8); - s << std::setfill('0') << f << e; + s << std::setfill('0') << f << _frame_out_extension; if (t) { s << ".tmp"; @@ -71,6 +67,10 @@ public: return s.str (); } + std::string hash_out_path (SourceFrame f, bool t) const { + return frame_out_path (f, t) + ".md5"; + } + /** @return Path to write multichannel audio data to */ std::string multichannel_audio_out_path () const { return _multichannel_audio_out_path; |
