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
e580a8fe
Commit
e580a8fe
authored
Mar 13, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/XVideo: reorient video
parent
23ab2a8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+9
-9
No files found.
modules/video_output/xcb/xvideo.c
View file @
e580a8fe
...
@@ -441,7 +441,7 @@ static int Open (vlc_object_t *obj)
...
@@ -441,7 +441,7 @@ static int Open (vlc_object_t *obj)
continue
;
continue
;
/* Look for an image format */
/* Look for an image format */
fmt
=
vd
->
fmt
;
video_format_ApplyRotation
(
&
vd
->
fmt
,
&
fmt
)
;
free
(
p_sys
->
att
);
free
(
p_sys
->
att
);
p_sys
->
att
=
FindFormat
(
obj
,
conn
,
&
fmt
,
a
,
&
p_sys
->
id
);
p_sys
->
att
=
FindFormat
(
obj
,
conn
,
&
fmt
,
a
,
&
p_sys
->
id
);
if
(
p_sys
->
att
==
NULL
)
/* No acceptable image formats */
if
(
p_sys
->
att
==
NULL
)
/* No acceptable image formats */
...
@@ -706,20 +706,20 @@ static void Display (vout_display_t *vd, picture_t *pic, subpicture_t *subpictur
...
@@ -706,20 +706,20 @@ static void Display (vout_display_t *vd, picture_t *pic, subpicture_t *subpictur
if
(
segment
)
if
(
segment
)
ck
=
xcb_xv_shm_put_image_checked
(
p_sys
->
conn
,
p_sys
->
port
,
ck
=
xcb_xv_shm_put_image_checked
(
p_sys
->
conn
,
p_sys
->
port
,
p_sys
->
window
,
p_sys
->
gc
,
segment
,
p_sys
->
id
,
0
,
p_sys
->
window
,
p_sys
->
gc
,
segment
,
p_sys
->
id
,
0
,
/* Src: */
vd
->
source
.
i_x_offset
,
/* Src: */
vd
->
fmt
.
i_x_offset
,
vd
->
source
.
i_y_offset
,
vd
->
fmt
.
i_y_offset
,
vd
->
source
.
i_visible_width
,
vd
->
fmt
.
i_visible_width
,
vd
->
source
.
i_visible_height
,
vd
->
fmt
.
i_visible_height
,
/* Dst: */
0
,
0
,
p_sys
->
width
,
p_sys
->
height
,
/* Dst: */
0
,
0
,
p_sys
->
width
,
p_sys
->
height
,
/* Memory: */
pic
->
p
->
i_pitch
/
pic
->
p
->
i_pixel_pitch
,
/* Memory: */
pic
->
p
->
i_pitch
/
pic
->
p
->
i_pixel_pitch
,
pic
->
p
->
i_lines
,
false
);
pic
->
p
->
i_lines
,
false
);
else
else
ck
=
xcb_xv_put_image_checked
(
p_sys
->
conn
,
p_sys
->
port
,
p_sys
->
window
,
ck
=
xcb_xv_put_image_checked
(
p_sys
->
conn
,
p_sys
->
port
,
p_sys
->
window
,
p_sys
->
gc
,
p_sys
->
id
,
p_sys
->
gc
,
p_sys
->
id
,
vd
->
source
.
i_x_offset
,
vd
->
fmt
.
i_x_offset
,
vd
->
source
.
i_y_offset
,
vd
->
fmt
.
i_y_offset
,
vd
->
source
.
i_visible_width
,
vd
->
fmt
.
i_visible_width
,
vd
->
source
.
i_visible_height
,
vd
->
fmt
.
i_visible_height
,
0
,
0
,
p_sys
->
width
,
p_sys
->
height
,
0
,
0
,
p_sys
->
width
,
p_sys
->
height
,
pic
->
p
->
i_pitch
/
pic
->
p
->
i_pixel_pitch
,
pic
->
p
->
i_pitch
/
pic
->
p
->
i_pixel_pitch
,
pic
->
p
->
i_lines
,
pic
->
p
->
i_lines
,
...
...
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