Avoid critical error unreffing structure
This commit is contained in:
parent
13dbcbb0e2
commit
6efc1eb913
@ -991,7 +991,7 @@ gst_niimaqsrc_get_cam_caps (GstNiImaqSrc * niimaqsrc)
|
||||
gst_niimaqsrc_set_caps_color (gs, 16, 16);
|
||||
gst_caps_append_structure (gcaps, gst_structure_copy (gs));
|
||||
}
|
||||
gst_object_unref (gs);
|
||||
gst_structure_free (gs);
|
||||
|
||||
GST_DEBUG_OBJECT (gcaps, "are the camera caps");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user