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
cd437524
Commit
cd437524
authored
Mar 20, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Win32 and Solaris compilation fix.
parent
239e959a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
plugins/sdl/vout_sdl.c
plugins/sdl/vout_sdl.c
+5
-1
No files found.
plugins/sdl/vout_sdl.c
View file @
cd437524
...
...
@@ -2,7 +2,7 @@
* vout_sdl.c: SDL video output display method
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: vout_sdl.c,v 1.8
5 2002/03/18 19:14:52
sam Exp $
* $Id: vout_sdl.c,v 1.8
6 2002/03/20 14:08:55
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Pierre Baillet <oct@zoy.org>
...
...
@@ -154,7 +154,9 @@ void _M( vout_getfunctions )( function_list_t * p_function_list )
*****************************************************************************/
static
int
vout_Create
(
vout_thread_t
*
p_vout
)
{
#ifdef HAVE_SETENV
char
*
psz_method
;
#endif
if
(
SDL_WasInit
(
SDL_INIT_VIDEO
)
!=
0
)
{
...
...
@@ -169,6 +171,7 @@ static int vout_Create( vout_thread_t *p_vout )
return
(
1
);
}
#ifdef HAVE_SETENV
psz_method
=
config_GetPszVariable
(
"vout"
);
if
(
psz_method
)
{
...
...
@@ -182,6 +185,7 @@ static int vout_Create( vout_thread_t *p_vout )
setenv
(
"SDL_VIDEODRIVER"
,
psz_method
+
1
,
1
);
}
}
#endif
/* Initialize library */
if
(
SDL_Init
(
SDL_INIT_VIDEO
...
...
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