Skip to content

Commit ecf8541

Browse files
Merge pull request #2 from ToothpickFactory/patch-1
Update TranscodingTask.php
2 parents 5f9dac3 + 46e17be commit ecf8541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Classes/TranscodingTask.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct($api, $task_token) {
6565
*/
6666
public function AddStitchVideoItem($url) {
6767
$item = new StitchVideoItem();
68-
if ($this->stitchVideoItems == undefined) {
68+
if (!isset($this->stitchVideoItems)) {
6969
$this->stitchVideoItems = [];
7070
}
7171
$item->url = $url;
@@ -219,4 +219,4 @@ public function setSubtitlesCopyMode($value) {
219219
$this->subtitles->copy = 0;
220220
}
221221
}
222-
}
222+
}

0 commit comments

Comments
 (0)