winegstreamer: Make the GST_QualityControl methods static.

This commit is contained in:
Francois Gouget 2012-11-22 18:38:51 +01:00 committed by Alexandre Julliard
parent ebd28d5034
commit 86c3f68303
1 changed files with 4 additions and 4 deletions

View File

@ -1400,19 +1400,19 @@ static inline GSTOutPin *impl_from_IQualityControl( IQualityControl *iface )
return (GSTOutPin*)CONTAINING_RECORD(iface, GSTOutPin, IQualityControl_iface); return (GSTOutPin*)CONTAINING_RECORD(iface, GSTOutPin, IQualityControl_iface);
} }
HRESULT WINAPI GST_QualityControl_QueryInterface(IQualityControl *iface, REFIID riid, void **ppv) static HRESULT WINAPI GST_QualityControl_QueryInterface(IQualityControl *iface, REFIID riid, void **ppv)
{ {
GSTOutPin *pin = impl_from_IQualityControl(iface); GSTOutPin *pin = impl_from_IQualityControl(iface);
return IPin_QueryInterface((IPin*)pin, riid, ppv); return IPin_QueryInterface((IPin*)pin, riid, ppv);
} }
ULONG WINAPI GST_QualityControl_AddRef(IQualityControl *iface) static ULONG WINAPI GST_QualityControl_AddRef(IQualityControl *iface)
{ {
GSTOutPin *pin = impl_from_IQualityControl(iface); GSTOutPin *pin = impl_from_IQualityControl(iface);
return IPin_AddRef((IPin*)pin); return IPin_AddRef((IPin*)pin);
} }
ULONG WINAPI GST_QualityControl_Release(IQualityControl *iface) static ULONG WINAPI GST_QualityControl_Release(IQualityControl *iface)
{ {
GSTOutPin *pin = impl_from_IQualityControl(iface); GSTOutPin *pin = impl_from_IQualityControl(iface);
return IPin_Release((IPin*)pin); return IPin_Release((IPin*)pin);
@ -1427,7 +1427,7 @@ static HRESULT WINAPI GST_QualityControl_Notify(IQualityControl *iface, IBaseFil
return S_OK; return S_OK;
} }
HRESULT WINAPI GST_QualityControl_SetSink(IQualityControl *iface, IQualityControl *tonotify) static HRESULT WINAPI GST_QualityControl_SetSink(IQualityControl *iface, IQualityControl *tonotify)
{ {
/* Do nothing */ /* Do nothing */
return S_OK; return S_OK;