* {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")
|
||||
public Integer getDuration() {
|
||||
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||
public Float getDuration() {
|
||||
return new Float(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||
}
|
||||
|
||||
@Define("seconds")
|
||||
|
|
Loading…
Reference in New Issue