mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
test: fix tizen profile
This commit is contained in:
parent
d92f2ac31c
commit
8c29fa422a
@ -291,11 +291,11 @@ namespace Jellyfin.Model.Tests
|
|||||||
[InlineData("AndroidTVExoPlayer", "mp4-h264-ac3-aac-srt-2600k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
[InlineData("AndroidTVExoPlayer", "mp4-h264-ac3-aac-srt-2600k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
||||||
[InlineData("AndroidTVExoPlayer", "mp4-hevc-ac3-aac-srt-15200k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
[InlineData("AndroidTVExoPlayer", "mp4-hevc-ac3-aac-srt-15200k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
||||||
// Tizen 3 Stereo
|
// Tizen 3 Stereo
|
||||||
[InlineData("Tizen3-stereo", "mp4-h264-ac3-aac-srt-2600k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
[InlineData("Tizen3-stereo", "mp4-h264-ac3-aac-srt-2600k", PlayMethod.DirectStream, TranscodeReason.SecondaryAudioNotSupported, "Remux")]
|
||||||
[InlineData("Tizen3-stereo", "mp4-hevc-ac3-aac-srt-15200k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
[InlineData("Tizen3-stereo", "mp4-hevc-ac3-aac-srt-15200k", PlayMethod.DirectStream, TranscodeReason.SecondaryAudioNotSupported, "Remux")]
|
||||||
// Tizen 4 4K 5.1
|
// Tizen 4 4K 5.1
|
||||||
[InlineData("Tizen4-4K-5.1", "mp4-h264-ac3-aac-srt-2600k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
[InlineData("Tizen4-4K-5.1", "mp4-h264-ac3-aac-srt-2600k", PlayMethod.DirectStream, TranscodeReason.SecondaryAudioNotSupported, "Remux")]
|
||||||
[InlineData("Tizen4-4K-5.1", "mp4-hevc-ac3-aac-srt-15200k", PlayMethod.DirectPlay, (TranscodeReason)0, "Remux")]
|
[InlineData("Tizen4-4K-5.1", "mp4-hevc-ac3-aac-srt-15200k", PlayMethod.DirectStream, TranscodeReason.SecondaryAudioNotSupported, "Remux")]
|
||||||
public async Task BuildVideoItemWithDirectPlayExplicitStreams(string deviceName, string mediaSource, PlayMethod? playMethod, TranscodeReason why = default, string transcodeMode = "DirectStream", string transcodeProtocol = "")
|
public async Task BuildVideoItemWithDirectPlayExplicitStreams(string deviceName, string mediaSource, PlayMethod? playMethod, TranscodeReason why = default, string transcodeMode = "DirectStream", string transcodeProtocol = "")
|
||||||
{
|
{
|
||||||
var options = await GetMediaOptions(deviceName, mediaSource);
|
var options = await GetMediaOptions(deviceName, mediaSource);
|
||||||
|
@ -413,6 +413,19 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"CodecProfiles": [
|
"CodecProfiles": [
|
||||||
|
{
|
||||||
|
"Type": "VideoAudio",
|
||||||
|
"Conditions": [
|
||||||
|
{
|
||||||
|
"Condition": "Equals",
|
||||||
|
"Property": "IsSecondaryAudio",
|
||||||
|
"Value": "false",
|
||||||
|
"IsRequired": false,
|
||||||
|
"$type": "ProfileCondition"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"$type": "CodecProfile"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Type": "Video",
|
"Type": "Video",
|
||||||
"Conditions": [
|
"Conditions": [
|
||||||
|
@ -413,6 +413,19 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"CodecProfiles": [
|
"CodecProfiles": [
|
||||||
|
{
|
||||||
|
"Type": "VideoAudio",
|
||||||
|
"Conditions": [
|
||||||
|
{
|
||||||
|
"Condition": "Equals",
|
||||||
|
"Property": "IsSecondaryAudio",
|
||||||
|
"Value": "false",
|
||||||
|
"IsRequired": false,
|
||||||
|
"$type": "ProfileCondition"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"$type": "CodecProfile"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Type": "Video",
|
"Type": "Video",
|
||||||
"Conditions": [
|
"Conditions": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user