mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
aconv: Override encoder in output metadata
After all, we encoded this file :^)
This commit is contained in:
committed by
Andrew Kaster
parent
34978b364b
commit
c853a73ae2
@@ -142,7 +142,10 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
|
||||
if (writer.has_value()) {
|
||||
(*writer)->sample_count_hint(input_loader->total_samples());
|
||||
TRY((*writer)->set_metadata(input_loader->metadata()));
|
||||
|
||||
auto metadata = input_loader->metadata();
|
||||
metadata.replace_encoder_with_serenity();
|
||||
TRY((*writer)->set_metadata(metadata));
|
||||
}
|
||||
|
||||
// FIXME: Maybe use a generalized interface for this as well if the need arises.
|
||||
|
||||
Reference in New Issue
Block a user