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
420ec3aa
Commit
420ec3aa
authored
Jan 15, 2001
by
Renaud Dartus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed close button support in SDL
* Fixed --width and --height support in SDL
parent
b8899c0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
plugins/sdl/intf_sdl.c
plugins/sdl/intf_sdl.c
+2
-5
plugins/sdl/vout_sdl.c
plugins/sdl/vout_sdl.c
+5
-2
No files found.
plugins/sdl/intf_sdl.c
View file @
420ec3aa
...
...
@@ -2,7 +2,7 @@
* intf_sdl.c: SDL interface plugin
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: intf_sdl.c,v 1.2
2 2001/01/15 06:18:23 sam
Exp $
* $Id: intf_sdl.c,v 1.2
3 2001/01/15 12:42:57 reno
Exp $
*
* Authors:
*
...
...
@@ -156,7 +156,7 @@ void intf_SDLManage( intf_thread_t *p_intf )
}
break
;
case
SDL_QUIT
:
intf_ProcessKey
(
p_intf
,
INTF_KEY_QUIT
);
intf_ProcessKey
(
p_intf
,
SDLK_q
);
break
;
default:
break
;
...
...
@@ -189,9 +189,6 @@ void intf_SDL_Fullscreen(intf_thread_t * p_intf)
p_intf
->
p_vout
->
p_sys
->
b_toggle_fullscreen
=
1
;
vlc_mutex_unlock
(
&
p_intf
->
p_vout
->
change_lock
);
}
void
intf_SDL_Keymap
(
intf_thread_t
*
p_intf
)
{
...
...
plugins/sdl/vout_sdl.c
View file @
420ec3aa
...
...
@@ -41,6 +41,7 @@
#include "video_output.h"
#include "intf_msg.h"
#include "main.h"
/*****************************************************************************
* vout_sys_t: video output SDL method descriptor
...
...
@@ -112,8 +113,10 @@ int vout_SDLCreate( vout_thread_t *p_vout, char *psz_display,
p_vout
->
p_sys
->
b_fullscreen
=
0
;
}
p_vout
->
p_sys
->
i_width
=
VOUT_WIDTH_DEFAULT
;
p_vout
->
p_sys
->
i_height
=
VOUT_HEIGHT_DEFAULT
;
p_vout
->
p_sys
->
i_width
=
main_GetIntVariable
(
VOUT_WIDTH_VAR
,
VOUT_WIDTH_DEFAULT
);
p_vout
->
p_sys
->
i_height
=
main_GetIntVariable
(
VOUT_HEIGHT_VAR
,
VOUT_HEIGHT_DEFAULT
);
if
(
SDLOpenDisplay
(
p_vout
)
)
{
...
...
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