mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* allow to directly re-encode subtitle text without decoding the subtitle data
This commit is contained in:
parent
d2b92f3eb8
commit
b5438e22a2
@ -350,7 +350,10 @@ public class ArgumentProcessor {
|
||||
ByteBuffer data = subtitleFile.getData();
|
||||
|
||||
if (outputFormat != null || outputEncoding != null) {
|
||||
ext = outputFormat.getFilter().extension(); // adjust extension of the output file
|
||||
if (outputFormat != null) {
|
||||
ext = outputFormat.getFilter().extension(); // adjust extension of the output file
|
||||
}
|
||||
|
||||
data = exportSubtitles(subtitleFile, outputFormat, 0, outputEncoding);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user