Commit 4fe604a2 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Get rid of strmbase_pin_get_media_type().

parent 35cfa11c
......@@ -410,7 +410,6 @@ static void sink_disconnect(struct strmbase_sink *iface)
static const struct strmbase_sink_ops sink_ops =
{
.base.pin_query_accept = sink_query_accept,
.base.pin_get_media_type = strmbase_pin_get_media_type,
.base.pin_query_interface = sink_query_interface,
.pfnReceive = AVICompressorIn_Receive,
.sink_connect = sink_connect,
......
......@@ -1475,7 +1475,6 @@ static const struct strmbase_sink_ops sink_ops =
{
.base.pin_query_interface = sink_query_interface,
.base.pin_query_accept = sink_query_accept,
.base.pin_get_media_type = strmbase_pin_get_media_type,
.pfnReceive = AviMuxIn_Receive,
.sink_connect = avi_mux_sink_connect,
.sink_disconnect = avi_mux_sink_disconnect,
......
......@@ -324,7 +324,6 @@ static const struct strmbase_sink_ops sink_ops =
{
.base.pin_query_interface = acm_wrapper_sink_query_interface,
.base.pin_query_accept = acm_wrapper_sink_query_accept,
.base.pin_get_media_type = strmbase_pin_get_media_type,
.pfnReceive = acm_wrapper_sink_Receive,
.sink_connect = acm_wrapper_sink_connect,
.sink_disconnect = acm_wrapper_sink_disconnect,
......
......@@ -287,7 +287,6 @@ static const struct strmbase_sink_ops sink_ops =
{
.base.pin_query_interface = avi_decompressor_sink_query_interface,
.base.pin_query_accept = avi_decompressor_sink_query_accept,
.base.pin_get_media_type = strmbase_pin_get_media_type,
.pfnReceive = avi_decompressor_sink_Receive,
.sink_connect = avi_decompressor_sink_connect,
.sink_disconnect = avi_decompressor_sink_disconnect,
......
......@@ -542,7 +542,6 @@ static const struct strmbase_sink_ops sink_ops =
{
.base.pin_query_interface = dsound_render_sink_query_interface,
.base.pin_query_accept = dsound_render_sink_query_accept,
.base.pin_get_media_type = strmbase_pin_get_media_type,
.pfnReceive = dsound_render_sink_Receive,
.sink_connect = dsound_render_sink_connect,
.sink_disconnect = dsound_render_sink_disconnect,
......
......@@ -265,11 +265,6 @@ static HRESULT SendFurther(struct strmbase_sink *sink, SendPinFunc func, void *a
return hr;
}
HRESULT strmbase_pin_get_media_type(struct strmbase_pin *iface, unsigned int index, AM_MEDIA_TYPE *mt)
{
return VFW_S_NO_MORE_ITEMS;
}
static HRESULT WINAPI pin_QueryInterface(IPin *iface, REFIID iid, void **out)
{
struct strmbase_pin *pin = impl_from_IPin(iface);
......
......@@ -106,8 +106,6 @@ struct strmbase_sink_ops
};
/* Base Pin */
HRESULT strmbase_pin_get_media_type(struct strmbase_pin *pin, unsigned int index, AM_MEDIA_TYPE *mt);
HRESULT WINAPI BaseOutputPinImpl_GetDeliveryBuffer(struct strmbase_source *pin,
IMediaSample **sample, REFERENCE_TIME *start, REFERENCE_TIME *stop, DWORD flags);
HRESULT WINAPI BaseOutputPinImpl_InitAllocator(struct strmbase_source *pin, IMemAllocator **allocator);
......
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