Skip to content

Commit

Permalink
Revert some stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Sep 13, 2024
1 parent 7a770fc commit fe9c444
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
12 changes: 3 additions & 9 deletions scripts/transcoder/00-live.liq
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,18 @@ live =
)

def mk_fallback_source(result, s) =
if
s.is_autofallback
then
[...result, (s.source : formats.pcm)]
else
result
end
if s.is_autofallback then [...result, s.source] else result end
end

radio_prod =
fallback(
id="fallback_prod",
track_sensitive=false,
[
(live : formats.pcm),
live,
...list.fold(mk_fallback_source, [], input_sources),

(safe_blank : formats.pcm)
safe_blank
]
)

Expand Down
6 changes: 1 addition & 5 deletions scripts/transcoder/30-formats.liq
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
let formats =
{
surround={icecast=(), hls=(), pcm=source(audio=pcm)},
stereo={icecast=(), hls=(), pcm=source(audio=pcm(5.1))}
}
let formats = {surround={icecast=(), hls=()}, stereo={icecast=(), hls=()}}

%include "formats/hls.aac.liq"
%include "formats/hls.libfdk_aac.liq"
Expand Down

0 comments on commit fe9c444

Please sign in to comment.