diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/ID3/module.audio-video.matroska.php --- a/wp/wp-includes/ID3/module.audio-video.matroska.php Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/ID3/module.audio-video.matroska.php Tue Sep 27 16:37:53 2022 +0200 @@ -224,14 +224,14 @@ * * @var bool */ - public static $hide_clusters = true; + public $hide_clusters = true; /** * True to parse the whole file, not only header [default: FALSE]. * * @var bool */ - public static $parse_whole_file = false; + public $parse_whole_file = false; /* * Private parser settings/placeholders. @@ -586,7 +586,7 @@ $info['matroska']['segment'][0]['length'] = $top_element['length']; while ($this->getEBMLelement($element_data, $top_element['end'])) { - if ($element_data['id'] != EBML_ID_CLUSTER || !self::$hide_clusters) { // collect clusters only if required + if ($element_data['id'] != EBML_ID_CLUSTER || !$this->hide_clusters) { // collect clusters only if required $info['matroska']['segments'][] = $element_data; } switch ($element_data['id']) { @@ -618,7 +618,7 @@ $this->warning('seek_entry[target_id] unexpectedly not set at '.$seek_entry['offset']); break; } - if (($seek_entry['target_id'] != EBML_ID_CLUSTER) || !self::$hide_clusters) { // collect clusters only if required + if (($seek_entry['target_id'] != EBML_ID_CLUSTER) || !$this->hide_clusters) { // collect clusters only if required $info['matroska']['seek'][] = $seek_entry; } break; @@ -905,7 +905,7 @@ break; case EBML_ID_CUES: // A top-level element to speed seeking access. All entries are local to the segment. Should be mandatory for non "live" streams. - if (self::$hide_clusters) { // do not parse cues if hide clusters is "ON" till they point to clusters anyway + if ($this->hide_clusters) { // do not parse cues if hide clusters is "ON" till they point to clusters anyway $this->current_offset = $element_data['end']; break; } @@ -1246,12 +1246,12 @@ } $this->current_offset = $subelement['end']; } - if (!self::$hide_clusters) { + if (!$this->hide_clusters) { $info['matroska']['cluster'][] = $cluster_entry; } // check to see if all the data we need exists already, if so, break out of the loop - if (!self::$parse_whole_file) { + if (!$this->parse_whole_file) { if (isset($info['matroska']['info']) && is_array($info['matroska']['info'])) { if (isset($info['matroska']['tracks']['tracks']) && is_array($info['matroska']['tracks']['tracks'])) { if (count($info['matroska']['track_data_offsets']) == count($info['matroska']['tracks']['tracks'])) {