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
6c948b6d
Commit
6c948b6d
authored
Apr 12, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid a call to unsetenv/putenv on Qt4.6
This trick does not work with Qt <= 4.5 unfortunately.
parent
f0d55dab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bin/vlc.c
bin/vlc.c
+6
-0
No files found.
bin/vlc.c
View file @
6c948b6d
...
@@ -75,6 +75,12 @@ int main( int i_argc, const char *ppsz_argv[] )
...
@@ -75,6 +75,12 @@ int main( int i_argc, const char *ppsz_argv[] )
* use the alpha channel for the embedded video window. */
* use the alpha channel for the embedded video window. */
putenv
(
(
char
*
)
"XLIB_SKIP_ARGB_VISUALS=1"
);
putenv
(
(
char
*
)
"XLIB_SKIP_ARGB_VISUALS=1"
);
#endif
#endif
#ifdef HAVE_SETENV
/* Clear the X.Org startup notification ID. Otherwise the UI might try to
* change the environment while the process is multi-threaded. That could
* crash. Screw you X.Org. Next time write a thread-safe specification. */
unsetenv
(
"DESKTOP_STARTUP_ID"
);
#endif
#ifndef ALLOW_RUN_AS_ROOT
#ifndef ALLOW_RUN_AS_ROOT
if
(
geteuid
()
==
0
)
if
(
geteuid
()
==
0
)
...
...
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