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
8d5d2f83
Commit
8d5d2f83
authored
Jan 01, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Little correction of the double-clicks detection under sdl
parent
bace31c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/video_output/sdl.c
modules/video_output/sdl.c
+5
-5
No files found.
modules/video_output/sdl.c
View file @
8d5d2f83
...
...
@@ -219,8 +219,8 @@ static int Open ( vlc_object_t *p_this )
p_vout
->
p_sys
->
b_cursor
=
1
;
p_vout
->
p_sys
->
b_cursor_autohidden
=
0
;
p_vout
->
p_sys
->
i_lastmoved
=
mdate
();
p_vout
->
p_sys
->
i_lastmoved
=
p_vout
->
p_sys
->
i_lastpressed
=
mdate
();
if
(
OpenDisplay
(
p_vout
)
)
{
msg_Err
(
p_vout
,
"cannot set up SDL (%s)"
,
SDL_GetError
()
);
...
...
@@ -361,8 +361,8 @@ static int Manage( vout_thread_t *p_vout )
{
switch
(
event
.
type
)
{
case
SDL_VIDEORESIZE
:
/* Resizing of window */
/* Update dimensions */
/* Resizing of window */
case
SDL_VIDEORESIZE
:
p_vout
->
i_changes
|=
VOUT_SIZE_CHANGE
;
p_vout
->
i_window_width
=
p_vout
->
p_sys
->
i_width
=
event
.
resize
.
w
;
p_vout
->
i_window_height
=
p_vout
->
p_sys
->
i_height
=
event
.
resize
.
h
;
...
...
@@ -746,8 +746,8 @@ static int OpenDisplay( vout_thread_t *p_vout )
}
p_vout
->
p_sys
->
p_display
=
SDL_SetVideoMode
(
p_vout
->
p_sys
->
i_width
,
p_vout
->
p_sys
->
i_height
,
i_bpp
,
i_flags
);
p_vout
->
p_sys
->
i_height
,
i_bpp
,
i_flags
);
if
(
p_vout
->
p_sys
->
p_display
==
NULL
)
{
...
...
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