* {bitrate} binding

This commit is contained in:
Reinhard Pointner 2014-01-08 14:26:39 +00:00
parent af0f4892f7
commit 32f119756b
1 changed files with 5 additions and 0 deletions

View File

@ -540,6 +540,11 @@ public class MediaBindingBean {
return null;
}
@Define("bitrate")
public Float getBitRate() {
return new Float(getMediaInfo(StreamKind.General, 0, "OverallBitRate"));
}
@Define("duration")
public Integer getDuration() {
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));