* {bitrate} and {duration} as float type for convenience

This commit is contained in:
Reinhard Pointner 2014-01-08 14:30:35 +00:00
parent 32f119756b
commit 4b15736faf
1 changed files with 2 additions and 2 deletions

View File

@ -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")