1
0
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:
Reinhard Pointner 2011-09-15 07:00:15 +00:00
parent d2b92f3eb8
commit b5438e22a2

View File

@ -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);
}