* fix conversion issues by returning a Long value

This commit is contained in:
Reinhard Pointner 2015-10-18 07:51:10 +00:00
parent 2a64e1fe99
commit 42966e8c68
1 changed files with 2 additions and 2 deletions

View File

@ -626,8 +626,8 @@ public class MediaBindingBean {
}
@Define("duration")
public Float getDuration() {
return new Float(getMediaInfo(StreamKind.General, 0, "Duration"));
public Long getDuration() {
return new Double(getMediaInfo(StreamKind.General, 0, "Duration")).longValue();
}
@Define("seconds")