projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed34172
)
interlace: Make caps writable before modifying them
author
Vivia Nikolaidou
<vivia@ahiru.eu>
Thu, 25 Jun 2020 13:05:39 +0000
(16:05 +0300)
committer
Vivia Nikolaidou
<vivia@ahiru.eu>
Thu, 25 Jun 2020 13:05:39 +0000
(16:05 +0300)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1373>
gst/interlace/gstinterlace.c
patch
|
blob
|
history
diff --git
a/gst/interlace/gstinterlace.c
b/gst/interlace/gstinterlace.c
index
a0f7fe2
..
6133bd5
100644
(file)
--- a/
gst/interlace/gstinterlace.c
+++ b/
gst/interlace/gstinterlace.c
@@
-881,6
+881,7
@@
gst_interlace_getcaps (GstPad * pad, GstInterlace * interlace, GstCaps * filter)
tcaps = gst_pad_get_pad_template_caps (otherpad);
othercaps = gst_pad_peer_query_caps (otherpad, clean_filter);
+ othercaps = gst_caps_make_writable (othercaps);
if (othercaps) {
if (pattern == GST_INTERLACE_PATTERN_2_2) {
for (i = 0; i < gst_caps_get_size (othercaps); ++i) {