diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-09-13 15:51:02 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-09-13 15:51:02 -0400 |
commit | aa23ea6fca0578670f5dea5824296c3c66925f35 (patch) | |
tree | 8916af791f36f440ba9cfc25c4434d99f13242ce /gst | |
parent | b1fcf14da5df05f883f2094ed10de2ab9dbeb683 (diff) | |
download | gstreamer-plugins-bad-aa23ea6fca0578670f5dea5824296c3c66925f35.tar.gz |
interaudiosrc: Make caps writable in fixate
Diffstat (limited to 'gst')
-rw-r--r-- | gst/inter/gstintervideosrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index 835add756..54c76d324 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); |