Simplifies and improves code. Removes some duplication
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
2020-05-12 00:19:01 +02:00
parent 9673266c09
commit e1256f61c7
10 changed files with 237 additions and 221 deletions

View File

@ -4,7 +4,6 @@ package net.knarcraft.ffmpegconverter.streams;
* An object representation of a subtitle stream in a media file
*/
public class SubtitleStream extends AbstractStream implements StreamObject {
final private String language;
final private String title;
final private String file;
final private boolean isFullSubtitle;
@ -32,15 +31,6 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
this.file = file;
}
/**
* Gets the language of the subtitle stream
*
* @return <p>The language of the subtitle stream.</p>
*/
public String getLanguage() {
return this.language;
}
/**
* Gets the title of the subtitle stream
*