Skip to content

Commit 87c0809

Browse files
committed
Update osc to mpv v0.38.0
1 parent 8f0f540 commit 87c0809

File tree

2 files changed

+176
-188
lines changed

2 files changed

+176
-188
lines changed

src/osc.patch

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- osc.lua 2023-09-20 20:17:42.473379651 +0200
2-
+++ patched_osc.lua 2023-09-20 20:17:42.482379658 +0200
3-
@@ -60,6 +60,233 @@
1+
--- osc.lua 2024-05-19 01:34:16.957044847 +0200
2+
+++ patched_osc.lua 2024-05-19 01:34:16.977044993 +0200
3+
@@ -64,6 +64,233 @@
44
-- read options from config and command-line
55
opt.read_options(user_opts, "osc", function(list) update_options(list) end)
66

@@ -234,7 +234,7 @@
234234
local osc_param = { -- calculated by osc_init()
235235
playresy = 0, -- canvas size Y
236236
playresx = 0, -- canvas size X
237-
@@ -833,6 +1060,10 @@
237+
@@ -837,6 +1064,10 @@
238238
ass_append_alpha(elem_ass, slider_lo.alpha, 0)
239239
elem_ass:append(tooltiplabel)
240240

@@ -245,7 +245,7 @@
245245
end
246246
end
247247

248-
@@ -2497,11 +2728,22 @@
248+
@@ -2493,11 +2724,22 @@
249249
-- Messages
250250
render_message(ass)
251251

@@ -267,8 +267,8 @@
267267
+
268268
-- submit
269269
set_osd(osc_param.playresy * osc_param.display_aspect,
270-
osc_param.playresy, ass.text)
271-
@@ -2742,6 +2984,21 @@
270+
osc_param.playresy, ass.text, 1000)
271+
@@ -2738,6 +2980,21 @@
272272
end
273273
end
274274

0 commit comments

Comments
 (0)