This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Misc bits and pieces concerning GUPnP-DLNA

Notes on editing profiles

Note: Move to own page once it clutters too much and link from here.

  <restriction name="Foo">
    <field name="name" type="string">
      <value>video/x-h264</value>
    </field>
    <field name="profile" type="string">
      <value>baseline</value>
    </field>
  <restriction>

  <restriction name="Bar">
    <parent name="Foo" />
    <field name="profile" type="string">
      <value>main</value>
    </field>
  <restriction>

Bar will match video/x-h264 but will not match on baseline profile, only on main.

  <restriction name="Foo">
    <field name="name" type="string">
      <value>video/x-h264</value>
    </field>
    <field name="level" type="string">
      <value>4</value>
    </field>
    <field name="level" type="string" used="in-relaxed">
      <value>4.1</value>
    </field>
  <restriction>

will cause this restriction only match in relaxed mode on level 4.1 but not on level 4 in any mode.


2024-10-23 11:37