diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-17 15:16:48 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-17 15:16:48 +0100 |
commit | f623a789246450a73c3acd62bdb066365d528f0c (patch) | |
tree | 356cfae4a972d1b2073375f4ecac916ef0a2a944 /gst/videoparsers/gsth263parse.c | |
parent | 9f1257330db0928bd86de541689cf67da51694fa (diff) | |
download | gstreamer-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.c | 1 |
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 |