Fix AbsoluteCounterPosition to match UPnP spec
authorFionn Cleary <fcleary@netsoc.tcd.ie>
Fri, 20 Sep 2013 13:36:51 +0000 (15:36 +0200)
committerJens Georg <jensg@openismus.com>
Tue, 1 Oct 2013 14:04:57 +0000 (16:04 +0200)
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

index 7aa0e48..f165f06 100644 (file)
 
       <stateVariable sendEvents="no">
          <name>AbsoluteCounterPosition</name>
-         <dataType>ui4</dataType>
+         <dataType>i4</dataType>
       </stateVariable>
 
       <stateVariable sendEvents="yes">