diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-09-29 12:56:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-09-29 12:56:18 +0200 |
commit | c239a4a57c82f398f5f73f05a06b12fe2dd84ca0 (patch) | |
tree | e2a29637221def0ad9a75e9a646172bc754af4c0 | |
parent | fixed decklink template (diff) |
decklink template
-rw-r--r-- | templates/example/decklink.xml | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/templates/example/decklink.xml b/templates/example/decklink.xml index e141686..d02e7c9 100644 --- a/templates/example/decklink.xml +++ b/templates/example/decklink.xml @@ -4,16 +4,9 @@ worker="{{ component.worker }}" project="flumotion-decklink" version="{{ globals.version }}"> - {% if 'device' in component.properties %} - <property name="device">{{ component.properties['device'] }}</property> - {% endif %} - {% if 'mode' in component.properties %} - <property name="mode">{{ component.properties['mode'] }}</property> - {% endif %} - {% if 'connection' in component.properties %} - <property name="connection">{{ component.properties['connection'] }}</property> - {% endif %} - {% if 'audio-input' in component.properties %} - <property name="audio-input">{{ component.properties['audio-input'] }}</property> + {% for name, value in component.properties.items() %} + {% if name != 'samplerate' %} + <property name="{{ name }}">{{ value }}</property> {% endif %} + {% endfor %} </component> |