mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
A small fix to set_caps function.
Original commit message from CVS: A small fix to set_caps function.
This commit is contained in:
parent
d526f2eac2
commit
a958ef8c9b
1 changed files with 1 additions and 2 deletions
|
@ -829,8 +829,7 @@ gst_v4l2src_set_caps (GstBaseSrc * src, GstCaps * caps)
|
|||
gst_value_get_fraction_denominator (framerate), NULL);
|
||||
} else {
|
||||
gst_structure_set (structure,
|
||||
"width", G_TYPE_INT, w,
|
||||
"height", G_TYPE_INT, h, "framerate", GST_TYPE_FRACTION, NULL);
|
||||
"width", G_TYPE_INT, w, "height", G_TYPE_INT, h, NULL);
|
||||
}
|
||||
|
||||
if (!gst_v4l2src_capture_init (v4l2src))
|
||||
|
|
Loading…
Reference in a new issue