glfilter: First make caps writable in fixate_caps(), then truncate them
Truncating requires writable caps.
This commit is contained in:
parent
f05da0fef7
commit
72afdda3b3
@ -240,8 +240,8 @@ gst_gl_filter_fixate_caps (GstBaseTransform * bt,
|
||||
GValue fpar = { 0, }, tpar = {
|
||||
0,};
|
||||
|
||||
othercaps = gst_caps_truncate (othercaps);
|
||||
othercaps = gst_caps_make_writable (othercaps);
|
||||
othercaps = gst_caps_truncate (othercaps);
|
||||
|
||||
GST_DEBUG_OBJECT (bt, "trying to fixate othercaps %" GST_PTR_FORMAT
|
||||
" based on caps %" GST_PTR_FORMAT, othercaps, caps);
|
||||
|
Loading…
x
Reference in New Issue
Block a user