From c239a4a57c82f398f5f73f05a06b12fe2dd84ca0 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 29 Sep 2012 12:56:18 +0200 Subject: decklink template --- templates/example/decklink.xml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'templates/example') 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 %} - {{ component.properties['device'] }} - {% endif %} - {% if 'mode' in component.properties %} - {{ component.properties['mode'] }} - {% endif %} - {% if 'connection' in component.properties %} - {{ component.properties['connection'] }} - {% endif %} - {% if 'audio-input' in component.properties %} - {{ component.properties['audio-input'] }} + {% for name, value in component.properties.items() %} + {% if name != 'samplerate' %} + {{ value }} {% endif %} + {% endfor %} -- cgit v1.2.3