Skip to content

Commit f4b6ac7

Browse files
committed
Fixed MacOS Test Arguments
1 parent d32363e commit f4b6ac7

File tree

4 files changed

+1664
-1
lines changed

4 files changed

+1664
-1
lines changed

Jellyfin.HardwareVisualizer/Server/Database/HardwareVisualizerDataContext.cs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,25 @@ Guid GetNext()
11441144
TestCaseArgumentDeviceType = TestCaseArgumentDeviceType.Intel,
11451145
FfmpegVersionGroupId = windowsVersionGroup,
11461146
HardwareCodecId = hvecCodecId,
1147-
}
1147+
},
1148+
// MacOS specifics
1149+
new TestCaseArgument()
1150+
{
1151+
Id = GetNext(),
1152+
FfmpegArgument = "-c:v h264 -i {video_file} -autoscale 0 -an -sn -vf scale=trunc(min(max(iw\\,ih*a)\\,{scale})/2)*2:trunc(ow/a/2)*2,format=yuv420p -c:v libx264 -preset veryfast -b:v {bitrate} -maxrate {bitrate} -f null - -benchmark",
1153+
TestCaseArgumentDeviceType = TestCaseArgumentDeviceType.Cpu,
1154+
FfmpegVersionGroupId = macVersionGroup,
1155+
HardwareCodecId = h264CodecId,
1156+
},
1157+
new TestCaseArgument()
1158+
{
1159+
Id = GetNext(),
1160+
FfmpegArgument = "-c:v hevc -i {video_file} -autoscale 0 -an -sn -vf scale=trunc(min(max(iw\\,ih*a)\\,{scale})/2)*2:trunc(ow/a/2)*2,format=yuv420p -c:v libx265 -preset veryfast -b:v {bitrate} -maxrate {bitrate} -f null - -benchmark",
1161+
TestCaseArgumentDeviceType = TestCaseArgumentDeviceType.Cpu,
1162+
FfmpegVersionGroupId = macVersionGroup,
1163+
HardwareCodecId = hvecCodecId,
1164+
},
1165+
11481166
});
11491167
}
11501168
}

0 commit comments

Comments
 (0)