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
ea7d9bab
Commit
ea7d9bab
authored
Apr 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecated --sdl-video-driver
Refer to
7e5403d0
for rationale.
parent
a54335c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
modules/video_output/sdl.c
modules/video_output/sdl.c
+1
-15
No files found.
modules/video_output/sdl.c
View file @
ea7d9bab
...
@@ -51,10 +51,6 @@ static void Close(vlc_object_t *);
...
@@ -51,10 +51,6 @@ static void Close(vlc_object_t *);
"Force the SDL renderer to use a specific chroma format instead of " \
"Force the SDL renderer to use a specific chroma format instead of " \
"trying to improve performances by using the most efficient one.")
"trying to improve performances by using the most efficient one.")
#define DRIVER_TEXT N_("SDL video driver name")
#define DRIVER_LONGTEXT N_(\
"Force a specific SDL video output driver.")
vlc_module_begin
()
vlc_module_begin
()
set_shortname
(
"SDL"
)
set_shortname
(
"SDL"
)
set_category
(
CAT_VIDEO
)
set_category
(
CAT_VIDEO
)
...
@@ -63,9 +59,7 @@ vlc_module_begin()
...
@@ -63,9 +59,7 @@ vlc_module_begin()
set_capability
(
"vout display"
,
60
)
set_capability
(
"vout display"
,
60
)
add_shortcut
(
"sdl"
)
add_shortcut
(
"sdl"
)
add_string
(
"sdl-chroma"
,
NULL
,
NULL
,
CHROMA_TEXT
,
CHROMA_LONGTEXT
,
true
)
add_string
(
"sdl-chroma"
,
NULL
,
NULL
,
CHROMA_TEXT
,
CHROMA_LONGTEXT
,
true
)
#ifdef HAVE_SETENV
add_obsolete_string
(
"sdl-video-driver"
)
/* obsolete since 1.1.0 */
add_string
(
"sdl-video-driver"
,
NULL
,
NULL
,
DRIVER_TEXT
,
DRIVER_LONGTEXT
,
true
)
#endif
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
,
Close
)
#if defined(__i386__) || defined(__x86_64__)
#if defined(__i386__) || defined(__x86_64__)
/* On i386, SDL is linked against svgalib */
/* On i386, SDL is linked against svgalib */
...
@@ -130,14 +124,6 @@ static int Open(vlc_object_t *object)
...
@@ -130,14 +124,6 @@ static int Open(vlc_object_t *object)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
#ifdef HAVE_SETENV
char
*
psz_driver
=
var_CreateGetNonEmptyString
(
vd
,
"sdl-video-driver"
);
if
(
psz_driver
)
{
setenv
(
"SDL_VIDEODRIVER"
,
psz_driver
,
1
);
free
(
psz_driver
);
}
#endif
/* */
/* */
int
sdl_flags
=
SDL_INIT_VIDEO
;
int
sdl_flags
=
SDL_INIT_VIDEO
;
#ifndef WIN32
#ifndef WIN32
...
...
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