Fix that crash when channels don't have the watermark enabled.
This commit is contained in:
parent
31b1c4b9b1
commit
3b5eb0475c
@ -272,6 +272,9 @@ function getWatermark( ffmpegSettings, channel, type) {
|
||||
e = (watermark.enabled === true);
|
||||
icon = watermark.url;
|
||||
}
|
||||
if (! e) {
|
||||
return null;
|
||||
}
|
||||
if ( (typeof(icon) === 'undefined') || (icon === '') ) {
|
||||
icon = channel.icon;
|
||||
if ( (typeof(icon) === 'undefined') || (icon === '') ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user