From 23b6edfcc5c981908a1d3a105833a172b9d14ed3 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 17 Dec 2022 14:26:36 +0100 Subject: [PATCH] Fix avc/av1 --- Model/Player/Backends/MPVClient.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Model/Player/Backends/MPVClient.swift b/Model/Player/Backends/MPVClient.swift index 457d658b..1e57dfe9 100644 --- a/Model/Player/Backends/MPVClient.swift +++ b/Model/Player/Backends/MPVClient.swift @@ -150,11 +150,11 @@ final class MPVClient: ObservableObject { } if forceSeekable { -// options.append("stream-lavf-o=seekable=0") + options.append("force-seekable=yes") + // this is needed for peertube? + // options.append("stream-lavf-o=seekable=0") } - options.append("stream-lavf-o=seekable=0") - if !options.isEmpty { args.append(options.joined(separator: ",")) }