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
760e0cba
Commit
760e0cba
authored
Feb 10, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used linear filtering when converting chroma in D3D.
It seems to also be used for chroma upsampling. It fixes #5751.
parent
1a459c1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+1
-1
No files found.
modules/video_output/msw/direct3d.c
View file @
760e0cba
...
@@ -1166,7 +1166,7 @@ static int Direct3DImportPicture(vout_display_t *vd,
...
@@ -1166,7 +1166,7 @@ static int Direct3DImportPicture(vout_display_t *vd,
/* Copy picture surface into texture surface
/* Copy picture surface into texture surface
* color space conversion happen here */
* color space conversion happen here */
hr
=
IDirect3DDevice9_StretchRect
(
sys
->
d3ddev
,
source
,
NULL
,
destination
,
NULL
,
D3DTEXF_
NONE
);
hr
=
IDirect3DDevice9_StretchRect
(
sys
->
d3ddev
,
source
,
NULL
,
destination
,
NULL
,
D3DTEXF_
LINEAR
);
IDirect3DSurface9_Release
(
destination
);
IDirect3DSurface9_Release
(
destination
);
if
(
FAILED
(
hr
))
{
if
(
FAILED
(
hr
))
{
msg_Dbg
(
vd
,
"%s:%d (hr=0x%0lX)"
,
__FUNCTION__
,
__LINE__
,
hr
);
msg_Dbg
(
vd
,
"%s:%d (hr=0x%0lX)"
,
__FUNCTION__
,
__LINE__
,
hr
);
...
...
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