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
c83e4f13
Commit
c83e4f13
authored
Dec 29, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Dec 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix some traces and fixmes.
parent
d75b0ce4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
videorenderer.c
dlls/quartz/videorenderer.c
+8
-10
No files found.
dlls/quartz/videorenderer.c
View file @
c83e4f13
...
@@ -277,7 +277,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
...
@@ -277,7 +277,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
HDC
hDC
;
HDC
hDC
;
BITMAPINFOHEADER
*
bmiHeader
;
BITMAPINFOHEADER
*
bmiHeader
;
TRACE
(
"
%p %p %d
\n
"
,
This
,
data
,
size
);
TRACE
(
"
(%p)->(%p, %d)
\n
"
,
This
,
data
,
size
);
sdesc
.
dwSize
=
sizeof
(
sdesc
);
sdesc
.
dwSize
=
sizeof
(
sdesc
);
hr
=
IPin_ConnectionMediaType
((
IPin
*
)
This
->
pInputPin
,
&
amt
);
hr
=
IPin_ConnectionMediaType
((
IPin
*
)
This
->
pInputPin
,
&
amt
);
...
@@ -356,6 +356,8 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
...
@@ -356,6 +356,8 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
REFERENCE_TIME
tStart
,
tStop
;
REFERENCE_TIME
tStart
,
tStop
;
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
pSample
);
EnterCriticalSection
(
&
This
->
csFilter
);
EnterCriticalSection
(
&
This
->
csFilter
);
if
(
This
->
pInputPin
->
flushing
||
This
->
pInputPin
->
end_of_stream
)
if
(
This
->
pInputPin
->
flushing
||
This
->
pInputPin
->
end_of_stream
)
...
@@ -370,8 +372,6 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
...
@@ -370,8 +372,6 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
return
VFW_E_WRONG_STATE
;
return
VFW_E_WRONG_STATE
;
}
}
TRACE
(
"%p %p
\n
"
,
iface
,
pSample
);
hr
=
IMediaSample_GetTime
(
pSample
,
&
tStart
,
&
tStop
);
hr
=
IMediaSample_GetTime
(
pSample
,
&
tStart
,
&
tStop
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
ERR
(
"Cannot get sample time (%x)
\n
"
,
hr
);
ERR
(
"Cannot get sample time (%x)
\n
"
,
hr
);
...
@@ -571,7 +571,7 @@ static const IMediaSeekingVtbl VideoRendererImpl_Seeking_Vtbl =
...
@@ -571,7 +571,7 @@ static const IMediaSeekingVtbl VideoRendererImpl_Seeking_Vtbl =
static
HRESULT
VideoRendererImpl_Change
(
IBaseFilter
*
iface
)
static
HRESULT
VideoRendererImpl_Change
(
IBaseFilter
*
iface
)
{
{
TRACE
(
"(%p)
\n
"
,
iface
);
TRACE
(
"(%p)
->()
\n
"
,
iface
);
return
S_OK
;
return
S_OK
;
}
}
...
@@ -961,9 +961,7 @@ static HRESULT WINAPI VideoRenderer_FindPin(IBaseFilter * iface, LPCWSTR Id, IPi
...
@@ -961,9 +961,7 @@ static HRESULT WINAPI VideoRenderer_FindPin(IBaseFilter * iface, LPCWSTR Id, IPi
{
{
VideoRendererImpl
*
This
=
(
VideoRendererImpl
*
)
iface
;
VideoRendererImpl
*
This
=
(
VideoRendererImpl
*
)
iface
;
TRACE
(
"(%p/%p)->(%p,%p)
\n
"
,
This
,
iface
,
debugstr_w
(
Id
),
ppPin
);
FIXME
(
"(%p/%p)->(%p,%p): stub !!!
\n
"
,
This
,
iface
,
debugstr_w
(
Id
),
ppPin
);
FIXME
(
"VideoRenderer::FindPin(...)
\n
"
);
/* FIXME: critical section */
/* FIXME: critical section */
...
@@ -1541,6 +1539,8 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
...
@@ -1541,6 +1539,8 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
AM_MEDIA_TYPE
*
amt
=
&
This
->
pInputPin
->
pin
.
mtCurrent
;
AM_MEDIA_TYPE
*
amt
=
&
This
->
pInputPin
->
pin
.
mtCurrent
;
char
*
ptr
;
char
*
ptr
;
FIXME
(
"(%p/%p)->(%p, %p): partial stub
\n
"
,
This
,
iface
,
pBufferSize
,
pDIBImage
);
EnterCriticalSection
(
&
This
->
csFilter
);
EnterCriticalSection
(
&
This
->
csFilter
);
if
(
!
This
->
sample_held
)
if
(
!
This
->
sample_held
)
...
@@ -1549,8 +1549,6 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
...
@@ -1549,8 +1549,6 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
return
(
This
->
state
==
State_Paused
?
E_UNEXPECTED
:
VFW_E_NOT_PAUSED
);
return
(
This
->
state
==
State_Paused
?
E_UNEXPECTED
:
VFW_E_NOT_PAUSED
);
}
}
FIXME
(
"(%p/%p)->(%p, %p): partial stub
\n
"
,
This
,
iface
,
pBufferSize
,
pDIBImage
);
if
(
IsEqualIID
(
&
amt
->
formattype
,
&
FORMAT_VideoInfo
))
if
(
IsEqualIID
(
&
amt
->
formattype
,
&
FORMAT_VideoInfo
))
{
{
bmiHeader
=
&
((
VIDEOINFOHEADER
*
)
amt
->
pbFormat
)
->
bmiHeader
;
bmiHeader
=
&
((
VIDEOINFOHEADER
*
)
amt
->
pbFormat
)
->
bmiHeader
;
...
@@ -1815,7 +1813,7 @@ static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface,
...
@@ -1815,7 +1813,7 @@ static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface,
TRACE
(
"(%p/%p)->(%ld)
\n
"
,
This
,
iface
,
AutoShow
);
TRACE
(
"(%p/%p)->(%ld)
\n
"
,
This
,
iface
,
AutoShow
);
This
->
AutoShow
=
1
;
/* F
XI
ME: Should be AutoShow */
;
This
->
AutoShow
=
1
;
/* F
IX
ME: Should be AutoShow */
;
return
S_OK
;
return
S_OK
;
}
}
...
...
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