Allow changing and setting custom filters (#243)

This commit is contained in:
Brennim 2021-02-18 18:56:30 -03:00 committed by GitHub
parent 465e57a3de
commit 867092f4b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1091,7 +1091,7 @@ class Player extends EventEmitter {
const encoderArgsFilters = [] const encoderArgsFilters = []
Object.keys(queue.filters).forEach((filterName) => { Object.keys(queue.filters).forEach((filterName) => {
if (queue.filters[filterName]) { if (queue.filters[filterName]) {
encoderArgsFilters.push(filters[filterName]) encoderArgsFilters.push(this.filters[filterName])
} }
}) })
let encoderArgs let encoderArgs