Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
00f9c81e
Commit
00f9c81e
authored
Jul 28, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winvlc: force plugin and data paths for vlc-static.exe
Just like we already do for (Unix) vlc.
parent
8a3032cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
bin/winvlc.c
bin/winvlc.c
+9
-1
No files found.
bin/winvlc.c
View file @
00f9c81e
...
...
@@ -115,6 +115,11 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
int
nCmdShow
)
{
int
argc
;
#ifdef TOP_BUILDDIR
putenv
(
"VLC_PLUGIN_PATH=Z:"
TOP_BUILDDIR
"/modules"
);
#endif
#ifndef UNDER_CE
HeapSetInformation
(
NULL
,
HeapEnableTerminationOnCorruption
,
NULL
,
0
);
...
...
@@ -137,12 +142,15 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
if
(
wargv
==
NULL
)
return
1
;
char
*
argv
[
argc
+
2
];
char
*
argv
[
argc
+
3
];
BOOL
crash_handling
=
TRUE
;
int
j
=
0
;
argv
[
j
++
]
=
FromWide
(
L"--media-library"
);
argv
[
j
++
]
=
FromWide
(
L"--no-ignore-config"
);
#ifdef TOP_SRCDIR
argv
[
argc
++
]
=
FromWide
(
L"--data-path=Z:"
TOP_SRCDIR
"/share"
);
#endif
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
!
wcscmp
(
wargv
[
i
],
L"--no-crashdump"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment