interaudiosrc: Make caps writable in fixate
This commit is contained in:
parent
b1fcf14da5
commit
aa23ea6fca
@ -318,6 +318,8 @@ gst_inter_video_src_fixate (GstBaseSrc * src, GstCaps * caps)
|
|||||||
|
|
||||||
GST_DEBUG_OBJECT (intervideosrc, "fixate");
|
GST_DEBUG_OBJECT (intervideosrc, "fixate");
|
||||||
|
|
||||||
|
caps = gst_caps_make_writable (caps);
|
||||||
|
|
||||||
structure = gst_caps_get_structure (caps, 0);
|
structure = gst_caps_get_structure (caps, 0);
|
||||||
|
|
||||||
gst_structure_fixate_field_nearest_int (structure, "width", 320);
|
gst_structure_fixate_field_nearest_int (structure, "width", 320);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user