mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
glfilter: First make caps writable in fixate_caps(), then truncate them
Truncating requires writable caps.
This commit is contained in:
parent
c08c795bb4
commit
3184175dae
1 changed files with 1 additions and 1 deletions
|
@ -240,8 +240,8 @@ gst_gl_filter_fixate_caps (GstBaseTransform * bt,
|
||||||
GValue fpar = { 0, }, tpar = {
|
GValue fpar = { 0, }, tpar = {
|
||||||
0,};
|
0,};
|
||||||
|
|
||||||
othercaps = gst_caps_truncate (othercaps);
|
|
||||||
othercaps = gst_caps_make_writable (othercaps);
|
othercaps = gst_caps_make_writable (othercaps);
|
||||||
|
othercaps = gst_caps_truncate (othercaps);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (bt, "trying to fixate othercaps %" GST_PTR_FORMAT
|
GST_DEBUG_OBJECT (bt, "trying to fixate othercaps %" GST_PTR_FORMAT
|
||||||
" based on caps %" GST_PTR_FORMAT, othercaps, caps);
|
" based on caps %" GST_PTR_FORMAT, othercaps, caps);
|
||||||
|
|
Loading…
Reference in a new issue