mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/811>
This commit is contained in:
parent
15fd339203
commit
8d645e1a69
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue