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
03a5ec2b
Commit
03a5ec2b
authored
Sep 26, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated vou display module after vout_display_SendEventDisplaySize change.
parent
904ef782
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
14 deletions
+14
-14
modules/video_output/aa.c
modules/video_output/aa.c
+2
-2
modules/video_output/caca.c
modules/video_output/caca.c
+2
-2
modules/video_output/directfb.c
modules/video_output/directfb.c
+1
-1
modules/video_output/fb.c
modules/video_output/fb.c
+1
-1
modules/video_output/sdl.c
modules/video_output/sdl.c
+3
-3
modules/video_output/vmem.c
modules/video_output/vmem.c
+1
-1
modules/video_output/xcb/events.c
modules/video_output/xcb/events.c
+1
-1
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+1
-1
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+2
-2
No files found.
modules/video_output/aa.c
View file @
03a5ec2b
...
...
@@ -126,7 +126,7 @@ static int Open(vlc_object_t *object)
sys
->
state
=
*
vd
->
cfg
;
sys
->
state
.
is_fullscreen
=
false
;
vout_display_SendEventFullscreen
(
vd
,
false
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
,
false
);
return
VLC_SUCCESS
;
...
...
@@ -284,7 +284,7 @@ static void Manage(vout_display_t *vd)
aa_resize
(
sys
->
aa_context
);
vout_display_SendEventDisplaySize
(
vd
,
aa_imgwidth
(
sys
->
aa_context
),
aa_imgheight
(
sys
->
aa_context
));
aa_imgheight
(
sys
->
aa_context
)
,
false
);
break
;
/* TODO keys support to complete */
...
...
modules/video_output/caca.c
View file @
03a5ec2b
...
...
@@ -341,7 +341,7 @@ static void Refresh(vout_display_t *vd)
if
(
width
!=
vd
->
cfg
->
display
.
width
||
height
!=
vd
->
cfg
->
display
.
height
)
vout_display_SendEventDisplaySize
(
vd
,
width
,
height
);
vout_display_SendEventDisplaySize
(
vd
,
width
,
height
,
false
);
}
/**
...
...
@@ -486,7 +486,7 @@ static void Manage(vout_display_t *vd)
}
case
CACA_EVENT_RESIZE
:
vout_display_SendEventDisplaySize
(
vd
,
caca_get_event_resize_width
(
&
ev
),
caca_get_event_resize_height
(
&
ev
));
caca_get_event_resize_height
(
&
ev
)
,
false
);
break
;
case
CACA_EVENT_MOUSE_MOTION
:
{
vout_display_place_t
place
;
...
...
modules/video_output/directfb.c
View file @
03a5ec2b
...
...
@@ -165,7 +165,7 @@ static int Open(vlc_object_t *object)
/* */
vout_display_SendEventFullscreen
(
vd
,
true
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
,
true
);
return
VLC_SUCCESS
;
}
...
...
modules/video_output/fb.c
View file @
03a5ec2b
...
...
@@ -269,7 +269,7 @@ static int Open(vlc_object_t *object)
/* */
vout_display_SendEventFullscreen
(
vd
,
true
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
,
true
);
return
VLC_SUCCESS
;
}
...
...
modules/video_output/sdl.c
View file @
03a5ec2b
...
...
@@ -344,7 +344,7 @@ static int Open(vlc_object_t *object)
vd
->
manage
=
Manage
;
/* */
vout_display_SendEventDisplaySize
(
vd
,
display_width
,
display_height
);
vout_display_SendEventDisplaySize
(
vd
,
display_width
,
display_height
,
vd
->
cfg
->
is_fullscreen
);
return
VLC_SUCCESS
;
error:
...
...
@@ -512,7 +512,7 @@ static int Control(vout_display_t *vd, int query, va_list args)
vout_display_PlacePicture
(
&
sys
->
place
,
&
vd
->
source
,
&
cfg
,
!
sys
->
overlay
);
}
vout_display_SendEventDisplaySize
(
vd
,
cfg
.
display
.
width
,
cfg
.
display
.
height
);
vout_display_SendEventDisplaySize
(
vd
,
cfg
.
display
.
width
,
cfg
.
display
.
height
,
cfg
.
is_fullscreen
);
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_CHANGE_ZOOM
:
...
...
@@ -652,7 +652,7 @@ static void Manage(vout_display_t *vd)
}
case
SDL_VIDEORESIZE
:
vout_display_SendEventDisplaySize
(
vd
,
event
.
resize
.
w
,
event
.
resize
.
h
);
vout_display_SendEventDisplaySize
(
vd
,
event
.
resize
.
w
,
event
.
resize
.
h
,
vd
->
cfg
->
is_fullscreen
);
break
;
default:
...
...
modules/video_output/vmem.c
View file @
03a5ec2b
...
...
@@ -236,7 +236,7 @@ static int Open(vlc_object_t *object)
/* */
vout_display_SendEventFullscreen
(
vd
,
false
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
);
vout_display_SendEventDisplaySize
(
vd
,
fmt
.
i_width
,
fmt
.
i_height
,
false
);
return
VLC_SUCCESS
;
}
...
...
modules/video_output/xcb/events.c
View file @
03a5ec2b
...
...
@@ -79,7 +79,7 @@ HandleParentStructure (vout_display_t *vd, xcb_configure_notify_event_t *ev)
{
if
(
ev
->
width
!=
vd
->
cfg
->
display
.
width
||
ev
->
height
!=
vd
->
cfg
->
display
.
height
)
vout_display_SendEventDisplaySize
(
vd
,
ev
->
width
,
ev
->
height
);
vout_display_SendEventDisplaySize
(
vd
,
ev
->
width
,
ev
->
height
,
vd
->
cfg
->
is_fullscreen
);
}
/**
...
...
modules/video_output/xcb/x11.c
View file @
03a5ec2b
...
...
@@ -292,8 +292,8 @@ static int Open (vlc_object_t *obj)
vd
->
manage
=
Manage
;
/* */
vout_display_SendEventDisplaySize
(
vd
,
width
,
height
);
vout_display_SendEventFullscreen
(
vd
,
false
);
vout_display_SendEventDisplaySize
(
vd
,
width
,
height
,
false
);
return
VLC_SUCCESS
;
...
...
modules/video_output/xcb/xvideo.c
View file @
03a5ec2b
...
...
@@ -492,10 +492,10 @@ static int Open (vlc_object_t *obj)
vd
->
manage
=
Manage
;
/* */
vout_display_SendEventFullscreen
(
vd
,
false
);
unsigned
width
,
height
;
if
(
!
GetWindowSize
(
p_sys
->
embed
,
conn
,
&
width
,
&
height
))
vout_display_SendEventDisplaySize
(
vd
,
width
,
height
);
vout_display_SendEventFullscreen
(
vd
,
false
);
vout_display_SendEventDisplaySize
(
vd
,
width
,
height
,
false
);
return
VLC_SUCCESS
;
...
...
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