]> git.nihav.org Git - nihav-encoder.git/commitdiff
preserve wrong encoder name for later
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 8 Jun 2020 10:25:27 +0000 (12:25 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 8 Jun 2020 10:25:27 +0000 (12:25 +0200)
src/main.rs

index fb4d80fcea41ce0cade765bdb63eb22ef62a8a6b..08aab6b35a3e99898ba8ff0eba9097b3196d50b9 100644 (file)
@@ -183,6 +183,7 @@ impl Transcoder {
                             ostr.enc_name = oval[1].to_string();
                         } else {
                             println!("unknown encoder '{}'", oval[1]);
+                            ostr.enc_name = oval[1].to_string();
                         }
                     },
                     "width" => {