Commit bd961941 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

quartz: Use BOOL type where appropriate.

parent d12c0d67
...@@ -117,7 +117,7 @@ static int EventsQueue_PutEvent(EventsQueue* omr, const Event* evt) ...@@ -117,7 +117,7 @@ static int EventsQueue_PutEvent(EventsQueue* omr, const Event* evt)
return TRUE; return TRUE;
} }
static int EventsQueue_GetEvent(EventsQueue* omr, Event* evt, LONG msTimeOut) static BOOL EventsQueue_GetEvent(EventsQueue* omr, Event* evt, LONG msTimeOut)
{ {
if (WaitForSingleObject(omr->msg_event, msTimeOut) != WAIT_OBJECT_0) if (WaitForSingleObject(omr->msg_event, msTimeOut) != WAIT_OBJECT_0)
return FALSE; return FALSE;
...@@ -377,7 +377,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter * ...@@ -377,7 +377,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter *
HRESULT hr; HRESULT hr;
int i,j; int i,j;
WCHAR* wszFilterName = NULL; WCHAR* wszFilterName = NULL;
int duplicate_name = FALSE; BOOL duplicate_name = FALSE;
TRACE("(%p/%p)->(%p, %s (%p))\n", This, iface, pFilter, debugstr_w(pName), pName); TRACE("(%p/%p)->(%p, %s (%p))\n", This, iface, pFilter, debugstr_w(pName), pName);
...@@ -490,7 +490,7 @@ static HRESULT WINAPI FilterGraph2_RemoveFilter(IFilterGraph2 *iface, IBaseFilte ...@@ -490,7 +490,7 @@ static HRESULT WINAPI FilterGraph2_RemoveFilter(IFilterGraph2 *iface, IBaseFilte
if (This->defaultclock && This->refClockProvider == pFilter) if (This->defaultclock && This->refClockProvider == pFilter)
{ {
IMediaFilter_SetSyncSource(&This->IMediaFilter_iface, NULL); IMediaFilter_SetSyncSource(&This->IMediaFilter_iface, NULL);
This->defaultclock = 1; This->defaultclock = TRUE;
} }
TRACE("Removing filter %s\n", debugstr_w(This->pFilterNames[i])); TRACE("Removing filter %s\n", debugstr_w(This->pFilterNames[i]));
...@@ -1502,7 +1502,7 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface, LPCWSTR lpcw ...@@ -1502,7 +1502,7 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface, LPCWSTR lpcw
IEnumPins* penumpins = NULL; IEnumPins* penumpins = NULL;
HRESULT hr; HRESULT hr;
BOOL partial = FALSE; BOOL partial = FALSE;
HRESULT any = FALSE; BOOL any = FALSE;
TRACE("(%p/%p)->(%s, %s)\n", This, iface, debugstr_w(lpcwstrFile), debugstr_w(lpcwstrPlayList)); TRACE("(%p/%p)->(%s, %s)\n", This, iface, debugstr_w(lpcwstrFile), debugstr_w(lpcwstrPlayList));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment