Skip to content

Commit e8211c6

Browse files
authored
Merge pull request #716 from nlsdvl/development
fix #715 undefined mpdHandler in getFrameRate.php
2 parents 2a0d841 + d5fa879 commit e8211c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMAF/impl/determineCMAFMediaProfiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
global $logger;
3+
global $logger, $mpdHandler;
44

55
$compatibleBrands = $xml->getElementsByTagName("ftyp")->item(0)->getAttribute("compatibleBrands");
66
$hdlrType = $xml->getElementsByTagName("hdlr")->item(0)->getAttribute("handler_type");

Utils/impl/MPDHandler/getFrameRate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
$framerate = 0;
88

9-
$periods = $mpdHandler->getElementsByTagName("Period");
9+
$periods = $this->dom->getElementsByTagName("Period");
1010

1111
if ($period >= count($periods)) {
1212
return null;

0 commit comments

Comments
 (0)