Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f5c2514a
Commit
f5c2514a
authored
Jul 06, 2009
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: add a --no-crashdump option
parent
ba501462
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
bin/winvlc.c
bin/winvlc.c
+22
-6
No files found.
bin/winvlc.c
View file @
f5c2514a
...
...
@@ -120,10 +120,31 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
return
1
;
char
*
argv
[
argc
+
1
];
BOOL
crash_handling
=
TRUE
;
int
j
=
0
;
for
(
int
i
=
0
;
i
<
argc
;
i
++
)
argv
[
i
]
=
FromWide
(
wargv
[
i
]);
{
if
(
!
wcscmp
(
wargv
[
i
],
L"--no-crashdump"
))
{
crash_handling
=
FALSE
;
}
else
{
argv
[
j
]
=
FromWide
(
wargv
[
i
]);
j
++
;
}
}
argc
=
j
;
argv
[
argc
]
=
NULL
;
LocalFree
(
wargv
);
if
(
crash_handling
)
{
check_crashdump
();
SetUnhandledExceptionFilter
(
vlc_exception_filter
);
}
#else
char
**
argv
,
psz_cmdline
[
wcslen
(
lpCmdLine
)
*
4
];
...
...
@@ -137,11 +158,6 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
dummy
);
#if !defined( UNDER_CE )
check_crashdump
();
SetUnhandledExceptionFilter
(
vlc_exception_filter
);
#endif
/* Initialize libvlc */
libvlc_instance_t
*
vlc
;
vlc
=
libvlc_new
(
argc
-
1
,
(
const
char
**
)
argv
+
1
,
&
ex
);
...
...
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