Skip to content

Commit

Permalink
Merge pull request #2 from ToothpickFactory/patch-1
Browse files Browse the repository at this point in the history
Update TranscodingTask.php
  • Loading branch information
VladimirParkhomenko authored Nov 18, 2019
2 parents 5f9dac3 + 46e17be commit ecf8541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Classes/TranscodingTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct($api, $task_token) {
*/
public function AddStitchVideoItem($url) {
$item = new StitchVideoItem();
if ($this->stitchVideoItems == undefined) {
if (!isset($this->stitchVideoItems)) {
$this->stitchVideoItems = [];
}
$item->url = $url;
Expand Down Expand Up @@ -219,4 +219,4 @@ public function setSubtitlesCopyMode($value) {
$this->subtitles->copy = 0;
}
}
}
}

0 comments on commit ecf8541

Please sign in to comment.