Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hooke007 committed Jun 12, 2022
1 parent 9f3d61c commit 3601dd1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion portable_config/mpv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
osd-on-seek = msg-bar # <no,bar,msg,msg-bar> 在跳转时间轴时显示的信息类型
#osd-blur = 0
osd-bar-w = 100
osd-bar-h = 2
osd-bar-h = 1
osd-bar-align-y = -1
#osd-color = "#B300FFFF"
#osd-border-color = "#B3008B8B"
Expand Down
18 changes: 9 additions & 9 deletions portable_config/scripts/contextmenu_gui/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ local function vidTrackMenu()
elseif vidTrackImage then vidTrackTitle = "[" .. vidTrackCodec .. "]" .. "," .. vidTrackwh
elseif vidTrackFps then vidTrackTitle = "[" .. vidTrackCodec .. "]" .. "," .. vidTrackwh .. "," .. vidTrackFps .. " FPS"
else vidTrackTitle = "视频轨 " .. i end
if vidTrackForced then vidTrackTitle = vidTrackTitle .. "," .. "Forced" end
if vidTrackDefault then vidTrackTitle = vidTrackTitle .. "," .. "Default" end
if vidTrackExternal then vidTrackTitle = vidTrackTitle .. "," .. "External" end
if vidTrackForced then vidTrackTitle = vidTrackTitle .. "(强制)" end
if vidTrackDefault then vidTrackTitle = vidTrackTitle .. "(默认)" end
if vidTrackExternal then vidTrackTitle = vidTrackTitle .. "(外挂)" end

local vidTrackCommand = "set vid " .. vidTrackID
table.insert(vidTrackMenuVal, {RADIO, vidTrackTitle, "", vidTrackCommand, function() return checkTrack(vidTrackNum) end, false, true})
Expand Down Expand Up @@ -256,9 +256,9 @@ local function audTrackMenu()
elseif audTrackLang then audTrackTitle = audTrackLang .. "[" .. audTrackCodec .. "]" .. "," .. audTrackChannels .. " ch" .. "," .. audTrackSamplerate .. " kHz"
elseif audTrackChannels then audTrackTitle = "[" .. audTrackCodec .. "]" .. "," .. audTrackChannels .. " ch" .. "," .. audTrackSamplerate .. " kHz"
else audTrackTitle = "音频轨 " .. i end
if audTrackForced then audTrackTitle = audTrackTitle .. "," .. "Forced" end
if audTrackDefault then audTrackTitle = audTrackTitle .. "," .. "Default" end
if audTrackExternal then audTrackTitle = audTrackTitle .. "," .. "External" end
if audTrackForced then audTrackTitle = audTrackTitle .. "(强制)" end
if audTrackDefault then audTrackTitle = audTrackTitle .. "(默认)" end
if audTrackExternal then audTrackTitle = audTrackTitle .. "(外挂)" end

local audTrackCommand = "set aid " .. audTrackID
if (i == 1) then
Expand Down Expand Up @@ -311,9 +311,9 @@ local function subTrackMenu()
elseif subTrackLang then subTrackTitle = subTrackLang .. "[" .. subTrackCodec .. "]"
elseif subTrackCodec then subTrackTitle = "[" .. subTrackCodec .. "]"
else subTrackTitle = "字幕轨 " .. i end
if subTrackForced then subTrackTitle = subTrackTitle .. "," .. "Forced" end
if subTrackDefault then subTrackTitle = subTrackTitle .. "," .. "Default" end
if subTrackExternal then subTrackTitle = subTrackTitle .. "," .. "External" end
if subTrackForced then subTrackTitle = subTrackTitle .. "(强制)" end
if subTrackDefault then subTrackTitle = subTrackTitle .. "(默认)" end
if subTrackExternal then subTrackTitle = subTrackTitle .. "(外挂)" end

local subTrackCommand = "set sid " .. subTrackID
if (i == 1) then
Expand Down

0 comments on commit 3601dd1

Please sign in to comment.