winegstreamer: Don't make the pad caps writable in pad_added_cb().
There is no need. Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e4922b930b
commit
2492bda6e1
|
@ -1000,7 +1000,7 @@ static void pad_added_cb(GstElement *element, GstPad *pad, gpointer user)
|
|||
if (gst_pad_is_linked(pad))
|
||||
return;
|
||||
|
||||
caps = gst_caps_make_writable(gst_pad_query_caps(pad, NULL));
|
||||
caps = gst_pad_query_caps(pad, NULL);
|
||||
name = gst_structure_get_name(gst_caps_get_structure(caps, 0));
|
||||
|
||||
if (!(stream = create_stream(parser)))
|
||||
|
|
Loading…
Reference in New Issue