mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
Add option to always direct play Dolby Vision Profile 7 (#670)
## Description A few devices, like the Nvidia Shield Pro 2019, are able to correctly handle Dolby Vision Profile 7. However, when a Full Enhancement Layer (FEL) is present, these devices effectively ignore the enhancement layer and only apply the RPU metadata. Due to this behavior, device capabilities are reported as not supporting `DOVIWithEL`, which causes the Jellyfin server to strip the DV layer entirely with a remux. This commit adds an option to force direct play of Dolby Vision Profile 7 content, preventing the server from stripping the Dolby Vision layer and allowing compatible devices to handle playback as intended. ### Related issues Fixes https://github.com/damontecres/Wholphin/issues/449 ### Screenshots <img width="1280" height="720" alt="dovi7" src="https://github.com/user-attachments/assets/849e9897-93b6-419f-a1fb-7f361f9c88dd" /> ### AI/LLM usage None Co-authored-by: Ray <154766448+damontecres@users.noreply.github.com>
This commit is contained in:
parent
b78f5fcc77
commit
197265e7f5
5 changed files with 24 additions and 3 deletions
|
|
@ -414,6 +414,17 @@ sealed interface AppPreference<Pref, T> {
|
|||
summaryOff = R.string.disabled,
|
||||
)
|
||||
|
||||
val DirectPlayDoviProfile7 =
|
||||
AppSwitchPreference<AppPreferences>(
|
||||
title = R.string.force_dovi_profile_7,
|
||||
defaultValue = false,
|
||||
getter = { it.playbackPreferences.overrides.directPlayDolbyVisionEL },
|
||||
setter = { prefs, value ->
|
||||
prefs.updatePlaybackOverrides { directPlayDolbyVisionEL = value }
|
||||
},
|
||||
summary = R.string.force_dovi_profile_7_summary,
|
||||
)
|
||||
|
||||
val RememberSelectedTab =
|
||||
AppSwitchPreference<AppPreferences>(
|
||||
title = R.string.remember_selected_tab,
|
||||
|
|
@ -984,6 +995,7 @@ val advancedPreferences =
|
|||
AppPreference.Ac3Supported,
|
||||
AppPreference.DirectPlayAss,
|
||||
AppPreference.DirectPlayPgs,
|
||||
AppPreference.DirectPlayDoviProfile7,
|
||||
),
|
||||
),
|
||||
ConditionalPreferences(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue