Update "SaveM3U8Stream" method to use "WithCopyCodec" option

This commit is contained in:
Rafael Carvalho 2023-05-17 11:41:13 +12:00
parent 643952db7b
commit 6c2311c869

View file

@ -333,7 +333,10 @@ public static bool SaveM3U8Stream(Uri uri, string output)
} }
return FFMpegArguments return FFMpegArguments
.FromUrlInput(uri) .FromUrlInput(uri, options =>
{
options.WithCopyCodec();
})
.OutputToFile(output) .OutputToFile(output)
.ProcessSynchronously(); .ProcessSynchronously();
} }