Apply review suggestions

This commit is contained in:
Shadowghost
2023-02-04 20:16:45 +01:00
parent 626bb24bdd
commit f2b7f664aa
3 changed files with 8 additions and 6 deletions

View File

@@ -943,10 +943,12 @@ namespace MediaBrowser.Controller.MediaEncoding
if (state.MediaSource.VideoType == VideoType.Dvd || state.MediaSource.VideoType == VideoType.BluRay)
{
var tmpConcatPath = options.TranscodingTempPath + "/" + state.MediaSource.Id + ".concat";
var tmpConcatPath = Path.Join(options.TranscodingTempPath, "/" + state.MediaSource.Id + ".concat");
_mediaEncoder.GenerateConcatConfig(state.MediaSource, tmpConcatPath);
arg.Append(" -f concat -safe 0 ");
arg.Append(" -i " + tmpConcatPath + " ");
arg.Append(" -f concat -safe 0 ")
.Append(" -i ")
.Append(tmpConcatPath)
.Append(' ');
}
else
{