diff options
author | Ivaylo Valkov <ivaylo@e-valkov.org> | 2010-07-07 17:28:40 +0300 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2010-07-09 14:54:57 +0200 |
commit | 5c5ecf52f88723561615bccafae2110a59f647ad (patch) | |
tree | 4882fde89da09b0de16a7c81a148497ae86366f1 | |
parent | 19c32c7ebbc1df3aeff3a93a121d81cadcaf9505 (diff) | |
download | totem-5c5ecf52f88723561615bccafae2110a59f647ad.tar.gz |
Support for VLC "input.length" property
-rw-r--r-- | browser-plugin/totemConeInput.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/browser-plugin/totemConeInput.cpp b/browser-plugin/totemConeInput.cpp index 475629cf3..146156931 100644 --- a/browser-plugin/totemConeInput.cpp +++ b/browser-plugin/totemConeInput.cpp @@ -84,9 +84,11 @@ totemConeInput::GetPropertyByIndex (int aIndex, return Int32Variant (_result, state); } + case eLength: + return DoubleVariant (_result, Plugin()->Duration()); + case eFps: case eHasVout: - case eLength: case ePosition: case eRate: case eTime: |