[rygel/rygel-0-20] Fix AbsoluteCounterPosition to match UPnP spec



commit 1a1327c2f6f8c677986b483eb6b6a3f8f561548a
Author: Fionn Cleary <fcleary netsoc tcd ie>
Date:   Fri Sep 20 15:36:51 2013 +0200

    Fix AbsoluteCounterPosition to match UPnP spec
    
    UPnP AV Transport Specification v1.01 states that the
    AbsoluteCounterPosition state variable is a signed value, where as the
    xml document has it as an unsigned value.  Rygel stores the
    AbsoluteCounterPosition internally as an signed value.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709190

 data/xml/AVTransport2.xml.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/xml/AVTransport2.xml.in b/data/xml/AVTransport2.xml.in
index 7aa0e48..f165f06 100644
--- a/data/xml/AVTransport2.xml.in
+++ b/data/xml/AVTransport2.xml.in
@@ -638,7 +638,7 @@
 
       <stateVariable sendEvents="no">
          <name>AbsoluteCounterPosition</name>
-         <dataType>ui4</dataType>
+         <dataType>i4</dataType>
       </stateVariable>
 
       <stateVariable sendEvents="yes">


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