mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
interaudiosrc: Make caps writable in fixate
This commit is contained in:
parent
b1fcf14da5
commit
aa23ea6fca
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue