gstreamer/subprojects/gst-plugins-base/gst
Matthew Waters dd4bbb6379 videoconvertscale: ensure writable caps when fixating format
gst_video_convert_scale_get_fixed_format() receives 'othercaps' from
basetransforms' fixate_caps() vmethod which explicitly mentions that
'`othercaps` may not be writable'.

The gst_caps_intersect() call just before may or may not produce new
caps. Particularly in cases like EMPTY or ANY caps on either of the
inputs, only a ref is taken and returned to the caller.

As a result, gst_video_convert_scale_fixate_format() may have attempted
to modify a non-writable caps structure.

Fix by adding a gst_caps_make_writable().

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2709>
2022-07-04 19:57:10 +00:00
..
adder Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
app Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audioconvert audioconvert: If no channel-mask can be fixated then use a NONE channel layout 2022-05-03 13:41:07 +03:00
audiomixer Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audiorate Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audioresample audio: Add logging that was useful in figuring out the last commit 2022-01-08 05:15:30 +00:00
audiotestsrc audiotestsrc: Produce a default channel mask if possible 2022-01-24 14:05:50 +00:00
compositor compositor: fix prepare_frame obscuring check 2022-04-22 17:43:50 +00:00
encoding Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
gio Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
overlaycomposition Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
pbtypes Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
playback decodebin3: fix EOS event sequence 2022-06-15 07:19:30 +00:00
rawparse rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps 2022-03-27 15:50:07 +00:00
subparse samiparse: clean up some GString usage 2022-07-01 17:24:52 +00:00
tcp Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
typefind typefindfunctions: Fix WebVTT format detection 2022-02-11 13:48:45 +00:00
videoconvertscale videoconvertscale: ensure writable caps when fixating format 2022-07-04 19:57:10 +00:00
videorate videorate: fix assertion when pushing last and only buffer without duration 2022-04-26 13:43:56 +00:00
videotestsrc Remove glib and gobject dependencies everywhere 2022-04-01 16:32:17 +00:00
volume Remove glib and gobject dependencies everywhere 2022-04-01 16:32:17 +00:00
meson.build Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00