Skip to content

Commit

Permalink
Update osc to mpv v0.38.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marzzzello committed May 18, 2024
1 parent 8f0f540 commit 87c0809
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 188 deletions.
14 changes: 7 additions & 7 deletions src/osc.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- osc.lua 2023-09-20 20:17:42.473379651 +0200
+++ patched_osc.lua 2023-09-20 20:17:42.482379658 +0200
@@ -60,6 +60,233 @@
--- osc.lua 2024-05-19 01:34:16.957044847 +0200
+++ patched_osc.lua 2024-05-19 01:34:16.977044993 +0200
@@ -64,6 +64,233 @@
-- read options from config and command-line
opt.read_options(user_opts, "osc", function(list) update_options(list) end)

Expand Down Expand Up @@ -234,7 +234,7 @@
local osc_param = { -- calculated by osc_init()
playresy = 0, -- canvas size Y
playresx = 0, -- canvas size X
@@ -833,6 +1060,10 @@
@@ -837,6 +1064,10 @@
ass_append_alpha(elem_ass, slider_lo.alpha, 0)
elem_ass:append(tooltiplabel)

Expand All @@ -245,7 +245,7 @@
end
end

@@ -2497,11 +2728,22 @@
@@ -2493,11 +2724,22 @@
-- Messages
render_message(ass)

Expand All @@ -267,8 +267,8 @@
+
-- submit
set_osd(osc_param.playresy * osc_param.display_aspect,
osc_param.playresy, ass.text)
@@ -2742,6 +2984,21 @@
osc_param.playresy, ass.text, 1000)
@@ -2738,6 +2980,21 @@
end
end

Expand Down
Loading

0 comments on commit 87c0809

Please sign in to comment.