summaryrefslogtreecommitdiff
path: root/templates/example/decklink.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/example/decklink.xml')
-rw-r--r--templates/example/decklink.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/example/decklink.xml b/templates/example/decklink.xml
new file mode 100644
index 0000000..f5815c1
--- /dev/null
+++ b/templates/example/decklink.xml
@@ -0,0 +1,19 @@
+ <component name="{{ name }}"
+ type="decklink-producer"
+ label="{{ component.desc }}"
+ worker="{{ component.worker }}"
+ project="flumotion"
+ 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>
+ {% endif %}
+ </component>