Adds some extra abstraction to streams
This commit is contained in:
@ -3,7 +3,7 @@ package net.knarcraft.ffmpegconverter.streams;
|
||||
/**
|
||||
* An object representation of a subtitle stream in a media file
|
||||
*/
|
||||
public class SubtitleStream extends StreamObject {
|
||||
public class SubtitleStream extends AbstractStream implements StreamObject {
|
||||
final private String language;
|
||||
final private String title;
|
||||
final private String file;
|
||||
@ -22,7 +22,6 @@ public class SubtitleStream extends StreamObject {
|
||||
*/
|
||||
public SubtitleStream(String codecName, int absoluteIndex, int relativeIndex, String language, String title,
|
||||
String file) {
|
||||
this.codecType = "subtitle";
|
||||
this.codecName = codecName;
|
||||
this.absoluteIndex = absoluteIndex;
|
||||
this.language = language;
|
||||
|
Reference in New Issue
Block a user