CC-5094 Liquidsoap crash if unsupported encoder in the liq script
-keep up with liquidsoap changes
This commit is contained in:
parent
280a827115
commit
ec7eb5f264
|
@ -129,19 +129,19 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de
|
||||||
%include "ogg.liq"
|
%include "ogg.liq"
|
||||||
end
|
end
|
||||||
|
|
||||||
%ifdef_encoder %opus
|
%ifencoder %opus
|
||||||
if type == "opus" then
|
if type == "opus" then
|
||||||
%include "opus.liq"
|
%include "opus.liq"
|
||||||
end
|
end
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifdef_encoder %aac
|
%ifencoder %aac
|
||||||
if type == "aac" then
|
if type == "aac" then
|
||||||
%include "aac.liq"
|
%include "aac.liq"
|
||||||
end
|
end
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifdef_encoder %aacplus
|
%ifencoder %aacplus
|
||||||
if type == "aacplus" then
|
if type == "aacplus" then
|
||||||
%include "aacplus.liq"
|
%include "aacplus.liq"
|
||||||
end
|
end
|
||||||
|
@ -180,13 +180,13 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de
|
||||||
%include "mp3.liq"
|
%include "mp3.liq"
|
||||||
end
|
end
|
||||||
|
|
||||||
%ifdef_encoder %aac
|
%ifencoder %aac
|
||||||
if type == "aac" then
|
if type == "aac" then
|
||||||
%include "aac.liq"
|
%include "aac.liq"
|
||||||
end
|
end
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifdef_encoder %aacplus
|
%ifencoder %aacplus
|
||||||
if type == "aacplus" then
|
if type == "aacplus" then
|
||||||
%include "aacplus.liq"
|
%include "aacplus.liq"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue