Commit c503af85 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

qcap: Remove useless FIXME.

parent d13f7720
...@@ -58,7 +58,6 @@ typedef struct CaptureGraphImpl ...@@ -58,7 +58,6 @@ typedef struct CaptureGraphImpl
ICaptureGraphBuilder ICaptureGraphBuilder_iface; ICaptureGraphBuilder ICaptureGraphBuilder_iface;
LONG ref; LONG ref;
IGraphBuilder *mygraph; IGraphBuilder *mygraph;
CRITICAL_SECTION csFilter; CRITICAL_SECTION csFilter;
} CaptureGraphImpl; } CaptureGraphImpl;
...@@ -143,8 +142,7 @@ fnCaptureGraphBuilder2_AddRef(ICaptureGraphBuilder2 * iface) ...@@ -143,8 +142,7 @@ fnCaptureGraphBuilder2_AddRef(ICaptureGraphBuilder2 * iface)
return ref; return ref;
} }
static ULONG WINAPI static ULONG WINAPI fnCaptureGraphBuilder2_Release(ICaptureGraphBuilder2 * iface)
fnCaptureGraphBuilder2_Release(ICaptureGraphBuilder2 * iface)
{ {
CaptureGraphImpl *This = impl_from_ICaptureGraphBuilder2(iface); CaptureGraphImpl *This = impl_from_ICaptureGraphBuilder2(iface);
DWORD ref = InterlockedDecrement(&This->ref); DWORD ref = InterlockedDecrement(&This->ref);
...@@ -153,10 +151,9 @@ fnCaptureGraphBuilder2_Release(ICaptureGraphBuilder2 * iface) ...@@ -153,10 +151,9 @@ fnCaptureGraphBuilder2_Release(ICaptureGraphBuilder2 * iface)
if (!ref) if (!ref)
{ {
FIXME("Release IGraphFilter or w/e\n");
This->csFilter.DebugInfo->Spare[0] = 0; This->csFilter.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&This->csFilter); DeleteCriticalSection(&This->csFilter);
if (This->mygraph != NULL) if (This->mygraph)
IGraphBuilder_Release(This->mygraph); IGraphBuilder_Release(This->mygraph);
CoTaskMemFree(This); CoTaskMemFree(This);
ObjectRefCount(FALSE); ObjectRefCount(FALSE);
...@@ -212,7 +209,7 @@ fnCaptureGraphBuilder2_GetFilterGraph(ICaptureGraphBuilder2 * iface, ...@@ -212,7 +209,7 @@ fnCaptureGraphBuilder2_GetFilterGraph(ICaptureGraphBuilder2 * iface,
} }
IGraphBuilder_AddRef(This->mygraph); IGraphBuilder_AddRef(This->mygraph);
TRACE("(%p) return filtergraph %p\n", iface, *pfg); TRACE("(%p) return filtergraph %p\n", iface, *pfg);
return S_OK; return S_OK;
} }
...@@ -452,7 +449,7 @@ fnCaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2 * iface, ...@@ -452,7 +449,7 @@ fnCaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2 * iface,
} }
static const ICaptureGraphBuilder2Vtbl builder2_Vtbl = static const ICaptureGraphBuilder2Vtbl builder2_Vtbl =
{ {
fnCaptureGraphBuilder2_QueryInterface, fnCaptureGraphBuilder2_QueryInterface,
fnCaptureGraphBuilder2_AddRef, fnCaptureGraphBuilder2_AddRef,
fnCaptureGraphBuilder2_Release, fnCaptureGraphBuilder2_Release,
...@@ -578,7 +575,7 @@ fnCaptureGraphBuilder_CopyCaptureFile(ICaptureGraphBuilder * iface, ...@@ -578,7 +575,7 @@ fnCaptureGraphBuilder_CopyCaptureFile(ICaptureGraphBuilder * iface,
} }
static const ICaptureGraphBuilderVtbl builder_Vtbl = static const ICaptureGraphBuilderVtbl builder_Vtbl =
{ {
fnCaptureGraphBuilder_QueryInterface, fnCaptureGraphBuilder_QueryInterface,
fnCaptureGraphBuilder_AddRef, fnCaptureGraphBuilder_AddRef,
fnCaptureGraphBuilder_Release, fnCaptureGraphBuilder_Release,
......
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