File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/main/java/de/bitzeche/video/transcoding/zencoder/job Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public class ZencoderThumbnail {
39
39
private String size ;
40
40
private String baseUrl ;
41
41
private String prefix ;
42
+ private String filename ;
42
43
private ZencoderThumbnailFormat format ;
43
44
44
45
/*
@@ -96,6 +97,12 @@ public Element createXML(Document document) {
96
97
prefixNode .setTextContent (this .prefix );
97
98
root .appendChild (prefixNode );
98
99
}
100
+
101
+ if (this .filename != null ) {
102
+ Node filenameNode = document .createElement ("filename" );
103
+ filenameNode .setTextContent (this .filename );
104
+ root .appendChild (filenameNode );
105
+ }
99
106
100
107
Node publicNode = document .createElement ("public" );
101
108
publicNode .setTextContent (this .isPublic ? "1" : "0" );
@@ -143,6 +150,11 @@ public String getBaseUrl() {
143
150
public String getPrefix () {
144
151
return prefix ;
145
152
}
153
+
154
+ public String getFilename () {
155
+ return filename ;
156
+ }
157
+
146
158
public ZencoderThumbnailFormat getFormat () {
147
159
return format ;
148
160
}
@@ -182,6 +194,10 @@ public void setBaseUrl(String baseUrl) {
182
194
public void setPrefix (String prefix ) {
183
195
this .prefix = prefix ;
184
196
}
197
+
198
+ public void setFilename (String filename ) {
199
+ this .filename = filename ;
200
+ }
185
201
186
202
public void setPublic (boolean isPublic ) {
187
203
this .isPublic = isPublic ;
You can’t perform that action at this time.
0 commit comments