interaudiosrc: Make caps writable in fixate

This commit is contained in:
Olivier Crête 2012-09-13 15:51:02 -04:00
parent b1fcf14da5
commit aa23ea6fca

View file

@ -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);