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
3447e875
Commit
3447e875
authored
Apr 28, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau: fix bottom bleeding with software decoding
parent
8f433b25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/hw/vdpau/chroma.c
modules/hw/vdpau/chroma.c
+4
-3
No files found.
modules/hw/vdpau/chroma.c
View file @
3447e875
...
...
@@ -65,7 +65,7 @@ static VdpStatus MixerSetupColors(filter_t *filter, const VdpProcamp *procamp,
{
filter_sys_t
*
sys
=
filter
->
p_sys
;
VdpStatus
err
;
VdpColorStandard
std
=
(
filter
->
fmt_in
.
video
.
i_height
>
576
)
VdpColorStandard
std
=
(
filter
->
fmt_in
.
video
.
i_
visible_
height
>
576
)
?
VDP_COLOR_STANDARD_ITUR_BT_709
:
VDP_COLOR_STANDARD_ITUR_BT_601
;
...
...
@@ -187,7 +187,7 @@ static VdpVideoMixer MixerCreate(filter_t *filter)
VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE
,
};
uint32_t
width
=
filter
->
fmt_in
.
video
.
i_width
;
uint32_t
height
=
filter
->
fmt_in
.
video
.
i_height
;
uint32_t
height
=
filter
->
fmt_in
.
video
.
i_
visible_
height
;
const
void
*
values
[
3
]
=
{
&
width
,
&
height
,
&
sys
->
chroma
,
};
err
=
vdp_video_mixer_create
(
sys
->
vdp
,
sys
->
device
,
featc
,
featv
,
...
...
@@ -332,7 +332,8 @@ static picture_t *VideoImport(filter_t *filter, picture_t *src)
/* Create surface (TODO: reuse?) */
err
=
vdp_video_surface_create
(
sys
->
vdp
,
sys
->
device
,
sys
->
chroma
,
filter
->
fmt_in
.
video
.
i_width
,
filter
->
fmt_in
.
video
.
i_height
,
&
surface
);
filter
->
fmt_in
.
video
.
i_visible_height
,
&
surface
);
if
(
err
!=
VDP_STATUS_OK
)
{
msg_Err
(
filter
,
"video %s %s failure: %s"
,
"surface"
,
"creation"
,
...
...
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