Skip to content

Commit 39096af

Browse files
committed
Added missing array type for watermarks (fixes #22)
1 parent 00a9ccf commit 39096af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/de/bitzeche/video/transcoding/zencoder/job/ZencoderOutput.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public ZencoderOutput(String label, String outputUrl) {
114114
public Element createXML(Document document) {
115115
this.xmlDocument = document;
116116
Element root = createElement("output");
117-
117+
118118
if (id != null)
119119
{
120120
createAndAppendElement("id", this.id, root);
@@ -161,6 +161,7 @@ public Element createXML(Document document) {
161161

162162
if (this.watermarks.size() != 0) {
163163
Element wms = document.createElement("watermarks");
164+
wms.setAttribute("type", "array");
164165
root.appendChild(wms);
165166
for (ZencoderWatermark item : this.watermarks) {
166167
Element wm = item.createXML(document);

0 commit comments

Comments
 (0)