From aa23ea6fca0578670f5dea5824296c3c66925f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 13 Sep 2012 15:51:02 -0400 Subject: [PATCH] interaudiosrc: Make caps writable in fixate --- gst/inter/gstintervideosrc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index 835add7564..54c76d324a 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -318,6 +318,8 @@ gst_inter_video_src_fixate (GstBaseSrc * src, GstCaps * caps) GST_DEBUG_OBJECT (intervideosrc, "fixate"); + caps = gst_caps_make_writable (caps); + structure = gst_caps_get_structure (caps, 0); gst_structure_fixate_field_nearest_int (structure, "width", 320);