[totem/gnome-2-30] Support for VLC "input.length" property
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-30] Support for VLC "input.length" property
- Date: Fri, 9 Jul 2010 12:57:05 +0000 (UTC)
commit 5c5ecf52f88723561615bccafae2110a59f647ad
Author: Ivaylo Valkov <ivaylo e-valkov org>
Date: Wed Jul 7 17:28:40 2010 +0300
Support for VLC "input.length" property
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 475629c..1461569 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]