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
|
|
@ -66,6 +66,7 @@ fun createDeviceProfile(
|
|||
downMixAudio: Boolean,
|
||||
assDirectPlay: Boolean,
|
||||
pgsDirectPlay: Boolean,
|
||||
dolbyVisionELDirectPlay: Boolean,
|
||||
jellyfinTenEleven: Boolean,
|
||||
) = buildDeviceProfile {
|
||||
val allowedAudioCodecs =
|
||||
|
|
@ -428,9 +429,11 @@ fun createDeviceProfile(
|
|||
if (jellyfinTenEleven) add("DOVIInvalid")
|
||||
|
||||
if (!supportsHevcDolbyVisionEL) {
|
||||
if (jellyfinTenEleven) {
|
||||
add("DOVIWithEL")
|
||||
if (!supportsHevcHDR10Plus && !KnownDefects.hevcDoviHdr10PlusBug) add("DOVIWithELHDR10Plus")
|
||||
if (!dolbyVisionELDirectPlay) {
|
||||
if (jellyfinTenEleven) {
|
||||
add("DOVIWithEL")
|
||||
if (!supportsHevcHDR10Plus && !KnownDefects.hevcDoviHdr10PlusBug) add("DOVIWithELHDR10Plus")
|
||||
}
|
||||
}
|
||||
|
||||
if (!supportsHevcDolbyVision) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue