Improves some method names and comments. Refactors parser
Some checks failed
KnarCraft/FFmpegConvert/pipeline/head There was a failure building this commit

This commit is contained in:
2020-05-12 01:05:52 +02:00
parent e1256f61c7
commit f59152a819
13 changed files with 96 additions and 66 deletions

View File

@ -1,7 +1,7 @@
package net.knarcraft.ffmpegconverter.streams;
/**
* An object representation of a stream in a media file
* An abstract implementation of a stream object implementing common methods
*/
public abstract class AbstractStream implements StreamObject {
int absoluteIndex;

View File

@ -17,7 +17,8 @@ public class AudioStream extends AbstractStream implements StreamObject {
* @param title <p>The title of the audio stream.</p>
* @param channels <p>The number of channels for the audio stream.</p>
*/
public AudioStream(String codecName, int absoluteIndex, int relativeIndex, String language, String title, int channels) {
public AudioStream(String codecName, int absoluteIndex, int relativeIndex, String language, String title,
int channels) {
this.codecName = codecName;
this.absoluteIndex = absoluteIndex;
this.language = language;