Add an option to preserve tags when transcoding

This commit is contained in:
emeric
2019-04-06 18:47:29 +02:00
parent edc59fb2db
commit 4960bfa8c3
2 changed files with 9 additions and 5 deletions
+3 -2
View File
@@ -47,8 +47,9 @@ 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};
boost::optional<std::size_t> stream; // Id of the stream to be transcoded (auto detect by default)
boost::optional<std::chrono::seconds> offset;
bool stripMetadata {true};
};
class Transcoder