Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
4a0eb67d
Commit
4a0eb67d
authored
Jul 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/XVideo: use ITU-R BT.709 colour space where applicable
parent
ea21bbab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+11
-0
No files found.
modules/video_output/xcb/xvideo.c
View file @
4a0eb67d
...
@@ -549,6 +549,17 @@ static int Open (vlc_object_t *obj)
...
@@ -549,6 +549,17 @@ static int Open (vlc_object_t *obj)
free
(
r
);
free
(
r
);
}
}
/* Colour space */
{
xcb_intern_atom_reply_t
*
r
=
xcb_intern_atom_reply
(
conn
,
xcb_intern_atom
(
conn
,
1
,
13
,
"XV_ITURBT_709"
),
NULL
);
if
(
r
!=
NULL
&&
r
->
atom
!=
0
)
xcb_xv_set_port_attribute
(
conn
,
p_sys
->
port
,
r
->
atom
,
fmt
.
i_height
>
576
);
free
(
r
);
}
/* Create cursor */
/* Create cursor */
p_sys
->
cursor
=
XCB_cursor_Create
(
conn
,
screen
);
p_sys
->
cursor
=
XCB_cursor_Create
(
conn
,
screen
);
...
...
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