Commit 8d645e1a authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by GStreamer Merge Bot

encodebin: Be less restrictive on muxer caps when preset name is specified

This way the user can simply define its caps by only providing the
structure name which is what we do in the encoding profile
deserialization function for example.

Part-of: <!811>
parent 15fd3392
Pipeline #199785 passed with stages
in 33 minutes and 46 seconds
......@@ -2008,7 +2008,8 @@ _get_muxer (GstEncodeBin * ebin)
GST_DEBUG ("Getting list of muxers for format %" GST_PTR_FORMAT, format);
muxers =
gst_element_factory_list_filter (ebin->muxers, format, GST_PAD_SRC, TRUE);
gst_element_factory_list_filter (ebin->muxers, format, GST_PAD_SRC,
!preset_name);
formatters =
gst_element_factory_list_filter (ebin->formatters, format, GST_PAD_SRC,
......
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