summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gsth263parse.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-17 15:16:48 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-17 15:16:48 +0100
commitf623a789246450a73c3acd62bdb066365d528f0c (patch)
tree356cfae4a972d1b2073375f4ecac916ef0a2a944 /gst/videoparsers/gsth263parse.c
parent9f1257330db0928bd86de541689cf67da51694fa (diff)
downloadgstreamer-plugins-bad-f623a789246450a73c3acd62bdb066365d528f0c.tar.gz
videoparsers: Make sure the caps are actually writable before changing them
Diffstat (limited to 'gst/videoparsers/gsth263parse.c')
-rw-r--r--gst/videoparsers/gsth263parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth263parse.c b/gst/videoparsers/gsth263parse.c
index 4b0c29dbd..06ff205dd 100644
--- a/gst/videoparsers/gsth263parse.c
+++ b/gst/videoparsers/gsth263parse.c
@@ -371,6 +371,7 @@ gst_h263_parse_get_sink_caps (GstBaseParse * parse, GstCaps * filter)
res = gst_caps_intersect_full (peercaps, templ, GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
+ res = gst_caps_make_writable (res);
/* Append the template caps because we still want to accept
* caps without any fields in the case upstream does not