diff options
Diffstat (limited to 'templates/example')
-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> |