upgrade from dotnet 7 to dotnet 8 (#1529)
* upgrade sdk * fix warnings in ersatztv.ffmpeg * fix warnings in ersatztv.core * fix warnings in ersatztv.infrastructure * fix warnings in ersatztv.application * disable analysis for migrations projects * fix warnings in ersatztv.scanner * fix warnings in ersatztv * upgrade project framework * update github actions and dockerfiles
This commit is contained in:
@@ -12,11 +12,11 @@ public class EncoderMpeg2Vaapi : EncoderBase
|
||||
|
||||
public override StreamKind Kind => StreamKind.Video;
|
||||
|
||||
public override IList<string> OutputOptions
|
||||
public override string[] OutputOptions
|
||||
{
|
||||
get
|
||||
{
|
||||
IList<string> result = base.OutputOptions;
|
||||
var result = new List<string>(base.OutputOptions);
|
||||
|
||||
if (_rateControlMode == RateControlMode.CQP)
|
||||
{
|
||||
@@ -24,7 +24,7 @@ public class EncoderMpeg2Vaapi : EncoderBase
|
||||
result.Add("1");
|
||||
}
|
||||
|
||||
return result;
|
||||
return result.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user