summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mediaplayer/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mediaplayer/main.go b/cmd/mediaplayer/main.go
index f7c5928..7ecf052 100644
--- a/cmd/mediaplayer/main.go
+++ b/cmd/mediaplayer/main.go
@@ -96,7 +96,8 @@ func runWithSignal(args []string, sigCh <-chan os.Signal) error {
defer gcWorker.Stop()
staticFS := http.Dir("web")
- server := api.NewServer(store, hasher, sm, cfg, mediaSvc, adminSvc, progressSvc, authSvc, staticFS)
+ remuxer := probe.NewFFRemuxer()
+ server := api.NewServer(store, hasher, sm, cfg, mediaSvc, adminSvc, progressSvc, authSvc, staticFS, remuxer)
gs := api.NewGracefulServer(server, cfg)