Commit 54349be3 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

matroskaparse: Allow webm and matroska caps and don't leak caps

parent f12893b6
......@@ -228,8 +228,7 @@ gst_matroska_parse_init (GstMatroskaParse * parse,
gst_pad_set_query_function (parse->srcpad,
GST_DEBUG_FUNCPTR (gst_matroska_parse_handle_src_query));
gst_pad_use_fixed_caps (parse->srcpad);
gst_pad_set_caps (parse->srcpad, gst_caps_new_simple ("video/x-matroska",
NULL));
gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad);
/* initial stream no. */
......
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