Module: wine Branch: master Commit: 2492bda6e1f82a170db60f25080444f36ab239dd URL: https://source.winehq.org/git/wine.git/?a=commit;h=2492bda6e1f82a170db60f250...
Author: Zebediah Figura z.figura12@gmail.com Date: Tue Feb 23 16:07:02 2021 -0600
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
---
dlls/winegstreamer/wg_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c index 341ca182749..a2eaf1958d6 100644 --- a/dlls/winegstreamer/wg_parser.c +++ b/dlls/winegstreamer/wg_parser.c @@ -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)))