With ambient lighting enabled, ASS subtitles anchored to a corner (and PGS bitmaps) rendered against the whole screen instead of the video: the effect stretches mpv's frame to the window with video-aspect-override and lets the shader composite the real picture inside it, and mpv places subtitles against that stretched frame. The pinned libmpv now carries --sub-video-rect-aspect (edde746/mpv-build ec08018), which makes mpv derive its subtitle margins from the picture's real aspect inside the displayed rect. AmbientLightingService hands it the video aspect before overriding the frame, so a libmpv without the option refuses cleanly with the frame untouched, and resets it on disable. Verified on a Pixel 7 (2400x1080) with a 16:9 file whose OP credits are \pos-anchored: subtitle extents are pixel-identical with ambient lighting on and off, and mpv reports OSD borders l=240 r=240 for the overridden frame. close #2120
77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"pins" : [
|
|
{
|
|
"identity" : "dkcamera",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/zhangao0086/DKCamera",
|
|
"state" : {
|
|
"branch" : "master",
|
|
"revision" : "5c691d11014b910aff69f960475d70e65d9dcc96"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "dkimagepickercontroller",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/zhangao0086/DKImagePickerController",
|
|
"state" : {
|
|
"branch" : "4.3.9",
|
|
"revision" : "0bdfeacefa308545adde07bef86e349186335915"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "dkphotogallery",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/zhangao0086/DKPhotoGallery",
|
|
"state" : {
|
|
"branch" : "master",
|
|
"revision" : "311c1bc7a94f1538f82773a79c84374b12a2ef3d"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "mpv-build",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/edde746/mpv-build",
|
|
"state" : {
|
|
"revision" : "cd1313c8c00c385c267a9a74bd37fe10e690e4d1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "sdwebimage",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/SDWebImage/SDWebImage",
|
|
"state" : {
|
|
"revision" : "2de3a496eaf6df9a1312862adcfd54acd73c39c0",
|
|
"version" : "5.21.7"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "sentry-cocoa",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/getsentry/sentry-cocoa",
|
|
"state" : {
|
|
"revision" : "f196cbb98e0388381d57908f2f5a9bdc385cde68",
|
|
"version" : "8.58.4"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swiftygif",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/kirualex/SwiftyGif.git",
|
|
"state" : {
|
|
"revision" : "4430cbc148baa3907651d40562d96325426f409a",
|
|
"version" : "5.4.5"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "tocropviewcontroller",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/TimOliver/TOCropViewController",
|
|
"state" : {
|
|
"revision" : "d4a6d8100f4b886fdbc8ae399bf144ff3e9afb7e",
|
|
"version" : "2.8.0"
|
|
}
|
|
}
|
|
],
|
|
"version" : 2
|
|
}
|