mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 01:55:45 +00:00
Fix changing of output extension in BaseSubVideo
This commit is contained in:
parent
3b1a1438bb
commit
2a16824e69
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ public static class FFMpeg
|
||||||
{
|
{
|
||||||
if (Path.GetExtension(input) != Path.GetExtension(output))
|
if (Path.GetExtension(input) != Path.GetExtension(output))
|
||||||
{
|
{
|
||||||
output = Path.Combine(Path.GetDirectoryName(output), Path.GetFileNameWithoutExtension(output), Path.GetExtension(input));
|
output = Path.ChangeExtension(output, Path.GetExtension(input));
|
||||||
}
|
}
|
||||||
|
|
||||||
return FFMpegArguments
|
return FFMpegArguments
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue