Commit 8d544012 authored by FireMasterK's avatar FireMasterK
Browse files

Add fps field as well.

parent 4d096be1
......@@ -35,6 +35,7 @@ public class VideoStream extends Stream {
private int indexEnd;
private int width;
private int height;
private int fps;
private String codec;
public VideoStream(String url, MediaFormat format, String resolution) {
......@@ -55,6 +56,7 @@ public class VideoStream extends Stream {
this.codec = itag.getCodec();
this.height = itag.getHeight();
this.width = itag.getWidth();
this.fps = itag.fps;
}
public VideoStream(String url, String torrentUrl, MediaFormat format, String resolution) {
......@@ -122,6 +124,10 @@ public class VideoStream extends Stream {
return height;
}
public int getFps() {
return fps;
}
public String getCodec() {
return codec;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment