winegstreamer: Replace gst_pad_get_current_caps with gst_pad_query_caps.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
21ca8e1648
commit
f26e81cf38
|
@ -388,7 +388,7 @@ static const IMFMediaStreamVtbl media_stream_vtbl =
|
|||
the user throws at us through gstreamer's caps negotiation. */
|
||||
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;
|
||||
|
||||
if (!source_caps)
|
||||
|
|
Loading…
Reference in New Issue