Misc cleanup

This commit is contained in:
emeric
2019-03-24 14:11:39 +01:00
parent 89f36e4235
commit be6ca7cc1b
3 changed files with 5 additions and 6 deletions
+4 -4
View File
@@ -45,10 +45,10 @@ std::string encodingToMimetype(Encoding encoding);
struct TranscodeParameters
{
Encoding encoding = Encoding::MP3;
std::size_t bitrate = 128000;
boost::optional<std::size_t> stream = boost::none; // Id of the stream to be transcoded (auto detect by default)
boost::optional<std::chrono::seconds> offset = boost::none;
Encoding encoding {Encoding::MP3};
std::size_t bitrate {128000};
boost::optional<std::size_t> stream {boost::none}; // Id of the stream to be transcoded (auto detect by default)
boost::optional<std::chrono::seconds> offset {boost::none};
};
class Transcoder