Bump version
[dcpomatic.git] / src / lib / stream.cc
index 4f12f41b9b7e73fa7ab49b50b1dccdcdad0ec53e..bfe7b5eb4b85054ad76def09d195714458ab7c6f 100644 (file)
@@ -21,7 +21,9 @@
 #include "compose.hpp"
 #include "stream.h"
 #include "ffmpeg_decoder.h"
-#include "external_audio_decoder.h"
+#include "sndfile_decoder.h"
+
+#include "i18n.h"
 
 using std::string;
 using std::stringstream;
@@ -47,7 +49,7 @@ SubtitleStream::SubtitleStream (string t, boost::optional<int>)
 string
 SubtitleStream::to_string () const
 {
-       return String::compose ("%1 %2", _id, _name);
+       return String::compose (N_("%1 %2"), _id, _name);
 }
 
 /** Create a SubtitleStream from a value returned from to_string().
@@ -72,7 +74,7 @@ audio_stream_factory (string t, optional<int> v)
 
        s = FFmpegAudioStream::create (t, v);
        if (!s) {
-               s = ExternalAudioStream::create (t, v);
+               s = SndfileStream::create (t, v);
        }
 
        return s;