[gupnp-dlna] Fix audio rates for EU TS streams



commit f03d1a0dfe23f5849573f4ff5321bb1f1bc0ef2b
Author: Jens Georg <jensg openismus com>
Date:   Tue May 7 14:10:58 2013 +0200

    Fix audio rates for EU TS streams

 data/mpeg-ts.xml |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/data/mpeg-ts.xml b/data/mpeg-ts.xml
index eed0978..57b68cd 100644
--- a/data/mpeg-ts.xml
+++ b/data/mpeg-ts.xml
@@ -16,10 +16,7 @@
       </field>
     </restriction>
 
-    <restriction id="MPEG_TS_AUDIO" type="audio">
-      <field name="rate" type="int">
-        <value>48000</value>
-      </field>
+    <restriction id="MPEG_TS_AUDIO_BASE" type="audio">
       <field name="channels" type="int">
         <range min="1" max="6" />
       </field>
@@ -28,8 +25,17 @@
       </field>
     </restriction>
 
+    <!-- audio rate restrictions for non-EU TS streams -->
+    <restriction id="MPEG_TS_AUDIO" type="audio">
+      <parent name="MPEG_TS_AUDIO_BASE" />
+      <field name="rate" type="int">
+        <value>48000</value>
+      </field>
+    </restriction>
+
+    <!-- audio rate restrictions for EU TS streams -->
     <restriction id="MPEG_TS_AUDIO_EU" type="audio">
-      <parent name="MPEG_TS_AUDIO"/>
+      <parent name="MPEG_TS_AUDIO_BASE"/>
       <field name="rate" type="int">
         <value>32000</value>
         <value>44100</value>


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