Skip to content

Commit

Permalink
Merge pull request #11129 from crobibero/extract-concat
Browse files Browse the repository at this point in the history
Specify file as concat when extracting attachments
  • Loading branch information
Bond-009 committed Mar 9, 2024
2 parents d910c78 + 814fc68 commit 9dbef98
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -139,7 +139,8 @@ public async Task<(MediaAttachment Attachment, Stream Stream)> GetAttachment(Bas

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;
Expand Down

0 comments on commit 9dbef98

Please sign in to comment.