Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LibVLCSharp
Manage
Activity
Members
Labels
Plan
Issues
69
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
LibVLCSharp
Merge requests
!28
add macos arm64 support
代码
评审变更
检出分支
下载
补丁
文本差异
Closed
add macos arm64 support
hezeping/LibVLCSharp:3.x
into
3.x
Overview
1
Commits
1
Pipelines
0
Changes
1
Closed
zeping he
requested to merge
hezeping/LibVLCSharp:3.x
into
3.x
3 months ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
add macos arm64 support,libvlc version is 3.0.21
0
0
Merge request reports
Compare
3.x
3.x (base)
and
latest version
latest version
f309a073
1 commit,
3 months ago
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/LibVLCSharp/Shared/Core/Core.cs
+
6
−
0
Options
@@ -130,6 +130,12 @@ namespace LibVLCSharp.Shared
static
void
LoadLibVLC
(
string
?
libvlcDirectoryPath
=
null
)
{
if
(
PlatformHelper
.
IsMac
&&
RuntimeInformation
.
RuntimeIdentifier
==
"osx-arm64"
&&
string
.
IsNullOrEmpty
(
libvlcDirectoryPath
))
{
libvlcDirectoryPath
=
Path
.
Combine
(
AppContext
.
BaseDirectory
,
"vlcLib"
);
}
// full path to directory location of libvlc and libvlccore has been provided
if
(!
string
.
IsNullOrEmpty
(
libvlcDirectoryPath
))
{
Loading