Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ec5da171
Commit
ec5da171
authored
Oct 25, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use BOOL type where appropriate.
parent
38adec4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
avisplit.c
dlls/quartz/avisplit.c
+5
-5
filtergraph.c
dlls/quartz/filtergraph.c
+1
-1
videorenderer.c
dlls/quartz/videorenderer.c
+1
-1
No files found.
dlls/quartz/avisplit.c
View file @
ec5da171
...
...
@@ -64,7 +64,7 @@ typedef struct StreamData
DWORD
entries
;
AVISTDINDEX
**
stdindex
;
DWORD
frames
;
DWORD
seek
;
BOOL
seek
;
/* Position, in index units */
DWORD
pos
,
pos_next
,
index
,
index_next
;
...
...
@@ -448,7 +448,7 @@ static HRESULT AVISplitter_first_request(LPVOID iface)
stream
->
index_next
=
stream
->
index
;
/* This was sent after stopped->paused or stopped->playing, so set seek */
stream
->
seek
=
1
;
stream
->
seek
=
TRUE
;
/* There should be a packet queued from AVISplitter_next_request last time
* It needs to be done now because this is the only way to ensure that every
...
...
@@ -973,7 +973,7 @@ static HRESULT AVISplitter_InitializeStreams(AVISplitterImpl *This)
DWORD
y
;
DWORD64
frames
=
0
;
stream
->
seek
=
1
;
stream
->
seek
=
TRUE
;
if
(
stream
->
stdindex
)
{
...
...
@@ -1320,7 +1320,7 @@ static HRESULT WINAPI AVISplitter_seek(IMediaSeeking *iface)
pin
->
dwSamplesProcessed
=
0
;
stream
->
index
=
0
;
stream
->
pos
=
0
;
stream
->
seek
=
1
;
stream
->
seek
=
TRUE
;
if
(
stream
->
stdindex
)
{
DWORD
y
,
z
=
0
;
...
...
@@ -1396,7 +1396,7 @@ static HRESULT WINAPI AVISplitter_seek(IMediaSeeking *iface)
stream
->
index
=
0
;
}
stream
->
preroll
=
preroll
;
stream
->
seek
=
1
;
stream
->
seek
=
TRUE
;
}
LeaveCriticalSection
(
&
This
->
Parser
.
filter
.
csFilter
);
...
...
dlls/quartz/filtergraph.c
View file @
ec5da171
...
...
@@ -88,7 +88,7 @@ static int EventsQueue_Destroy(EventsQueue* omr)
return
TRUE
;
}
static
int
EventsQueue_PutEvent
(
EventsQueue
*
omr
,
const
Event
*
evt
)
static
BOOL
EventsQueue_PutEvent
(
EventsQueue
*
omr
,
const
Event
*
evt
)
{
EnterCriticalSection
(
&
omr
->
msg_crst
);
if
(
omr
->
msg_toget
==
((
omr
->
msg_tosave
+
1
)
%
omr
->
ring_buffer_size
))
...
...
dlls/quartz/videorenderer.c
View file @
ec5da171
...
...
@@ -1031,7 +1031,7 @@ HRESULT VideoRenderer_create(IUnknown *pUnkOuter, void **ppv)
pVideoRenderer
->
IUnknown_inner
.
lpVtbl
=
&
IInner_VTable
;
pVideoRenderer
->
IAMFilterMiscFlags_iface
.
lpVtbl
=
&
IAMFilterMiscFlags_Vtbl
;
pVideoRenderer
->
init
=
0
;
pVideoRenderer
->
init
=
FALSE
;
ZeroMemory
(
&
pVideoRenderer
->
SourceRect
,
sizeof
(
RECT
));
ZeroMemory
(
&
pVideoRenderer
->
DestRect
,
sizeof
(
RECT
));
ZeroMemory
(
&
pVideoRenderer
->
WindowPos
,
sizeof
(
RECT
));
...
...
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