aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2024-03-09 21:18:06 +0100
committerGitHub <noreply@github.com>2024-03-09 21:18:06 +0100
commit9dbef98a157ca316deb2d634d288d8fe4aeda427 (patch)
treea22cf57e2bff20b1d7e4b1185aa8286a8676b498
parentd910c78fe5373101129d4df720cc0805cbd2d16d (diff)
parent814fc6864da6254427176c0cceef03b28d3cf12f (diff)
Merge pull request #11129 from crobibero/extract-concat
Specify file as concat when extracting attachments
-rw-r--r--MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
index a97cca6b8..a11440ced 100644
--- a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
+++ b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
@@ -139,7 +139,8 @@ namespace MediaBrowser.MediaEncoding.Attachments
var processArgs = string.Format(
CultureInfo.InvariantCulture,
- "-dump_attachment:t \"\" -y -i {0} -t 0 -f null null",
+ "-dump_attachment:t \"\" -y {0} -i {1} -t 0 -f null null",
+ inputPath.EndsWith(".concat\"", StringComparison.OrdinalIgnoreCase) ? "-f concat -safe 0" : string.Empty,
inputPath);
int exitCode;