summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvaylo Valkov <ivaylo@e-valkov.org>2010-07-07 17:28:40 +0300
committerBastien Nocera <hadess@hadess.net>2010-07-09 14:54:57 +0200
commit5c5ecf52f88723561615bccafae2110a59f647ad (patch)
tree4882fde89da09b0de16a7c81a148497ae86366f1
parent19c32c7ebbc1df3aeff3a93a121d81cadcaf9505 (diff)
downloadtotem-5c5ecf52f88723561615bccafae2110a59f647ad.tar.gz
Support for VLC "input.length" property
-rw-r--r--browser-plugin/totemConeInput.cpp4
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: