[totem/gnome-2-32] Support for VLC "input.length" property



commit 57115592b34ed74a4718d76ac8b30990266753c3
Author: Ivaylo Valkov <ivaylo e-valkov org>
Date:   Wed Jul 7 17:28:40 2010 +0300

    Support for VLC "input.length" property
    
    https://bugzilla.gnome.org/show_bug.cgi?id=623790

 browser-plugin/totemConeInput.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totemConeInput.cpp b/browser-plugin/totemConeInput.cpp
index fb337bc..6492023 100644
--- a/browser-plugin/totemConeInput.cpp
+++ b/browser-plugin/totemConeInput.cpp
@@ -89,6 +89,9 @@ totemConeInput::GetPropertyByIndex (int aIndex,
     case eTime:
       return DoubleVariant (_result, double (Plugin()->GetTime()));
 
+    case eLength:
+      return DoubleVariant (_result, Plugin()->Duration());
+
     case eFps:
     case eHasVout:
     case ePosition:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]