summaryrefslogtreecommitdiff
path: root/gst/audioparsers/gstac3parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/audioparsers/gstac3parse.c')
-rw-r--r--gst/audioparsers/gstac3parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/audioparsers/gstac3parse.c b/gst/audioparsers/gstac3parse.c
index f2c84405f..c0c7b5cdc 100644
--- a/gst/audioparsers/gstac3parse.c
+++ b/gst/audioparsers/gstac3parse.c
@@ -715,6 +715,7 @@ gst_ac3_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