Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b78dcbf2
Commit
b78dcbf2
authored
Nov 21, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/videorenderer: Remove some dead code.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0af83468
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
videorenderer.c
dlls/quartz/videorenderer.c
+0
-18
No files found.
dlls/quartz/videorenderer.c
View file @
b78dcbf2
...
@@ -149,7 +149,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
...
@@ -149,7 +149,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
const
AM_MEDIA_TYPE
*
mt
=
&
filter
->
renderer
.
sink
.
pin
.
mt
;
const
AM_MEDIA_TYPE
*
mt
=
&
filter
->
renderer
.
sink
.
pin
.
mt
;
LPBYTE
pbSrcStream
=
NULL
;
LPBYTE
pbSrcStream
=
NULL
;
BITMAPINFOHEADER
*
bih
;
BITMAPINFOHEADER
*
bih
;
LONG
cbSrcStream
=
0
;
HRESULT
hr
;
HRESULT
hr
;
HDC
dc
;
HDC
dc
;
...
@@ -162,23 +161,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
...
@@ -162,23 +161,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
return
hr
;
return
hr
;
}
}
cbSrcStream
=
IMediaSample_GetActualDataLength
(
pSample
);
TRACE
(
"val %p %d
\n
"
,
pbSrcStream
,
cbSrcStream
);
#if 0 /* For debugging purpose */
{
int i;
for(i = 0; i < cbSrcStream; i++)
{
if ((i!=0) && !(i%16))
TRACE("\n");
TRACE("%02x ", pbSrcStream[i]);
}
TRACE("\n");
}
#endif
if
(
IsEqualGUID
(
&
mt
->
formattype
,
&
FORMAT_VideoInfo
))
if
(
IsEqualGUID
(
&
mt
->
formattype
,
&
FORMAT_VideoInfo
))
bih
=
&
((
VIDEOINFOHEADER
*
)
mt
->
pbFormat
)
->
bmiHeader
;
bih
=
&
((
VIDEOINFOHEADER
*
)
mt
->
pbFormat
)
->
bmiHeader
;
else
else
...
...
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