Commit f26e81cf authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

winegstreamer: Replace gst_pad_get_current_caps with gst_pad_query_caps.

parent 21ca8e16
...@@ -388,7 +388,7 @@ static const IMFMediaStreamVtbl media_stream_vtbl = ...@@ -388,7 +388,7 @@ static const IMFMediaStreamVtbl media_stream_vtbl =
the user throws at us through gstreamer's caps negotiation. */ the user throws at us through gstreamer's caps negotiation. */
static HRESULT media_stream_connect_to_sink(struct media_stream *stream) static HRESULT media_stream_connect_to_sink(struct media_stream *stream)
{ {
GstCaps *source_caps = gst_pad_get_current_caps(stream->their_src); GstCaps *source_caps = gst_pad_query_caps(stream->their_src, NULL);
const gchar *stream_type; const gchar *stream_type;
if (!source_caps) if (!source_caps)
......
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