Making the linter happy

This commit is contained in:
Neil Burrows 2022-04-26 17:45:40 +01:00
parent 7b7793129e
commit 2f8df90f55
2 changed files with 6 additions and 6 deletions

View File

@ -103,11 +103,11 @@ sub SetUpVideoOptions(streams)
if streams[i].VideoType = "VideoFile"
codec = ""
if streams[i].mediaStreams <> invalid and streams[i].mediaStreams.Count() > 0 then codec = streams[i].mediaStreams[0].displayTitle
videos.push({
"Title": streams[i].Name,
"Description": tr("Video"),
"Selected": m.top.selectedVideoStreamId = streams[i].id,
"StreamID": streams[i].id,
videos.push({
"Title": streams[i].Name,
"Description": tr("Video"),
"Selected": m.top.selectedVideoStreamId = streams[i].id,
"StreamID": streams[i].id,
"video_codec": codec
})
end if

View File

@ -43,7 +43,7 @@ sub itemContentChanged()
end if
m.top.findNode("video_codec").visible = videoIdx <> invalid
m.top.findNode("audio_codec").visible = audioIdx <> invalid
end sub
function getRuntime() as integer