* {bitrate} and {duration} as float type for convenience
This commit is contained in:
parent
32f119756b
commit
4b15736faf
|
@ -546,8 +546,8 @@ public class MediaBindingBean {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Define("duration")
|
@Define("duration")
|
||||||
public Integer getDuration() {
|
public Float getDuration() {
|
||||||
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));
|
return new Float(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Define("seconds")
|
@Define("seconds")
|
||||||
|
|
Loading…
Reference in New Issue