A small fix to set_caps function.

Original commit message from CVS:
A small fix to set_caps function.
This commit is contained in:
Edgard Lima 2006-08-30 11:36:06 +00:00
parent 292c339a4c
commit b5c8a13694
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-08-30 Edgard Lima <edgard.lima@indt.org.br>
* sys/v4l2/gstv4l2src.c:
A small fix to set_caps function.
2006-08-30 Edward Hervey <edward@fluendo.com>
* gst/qtdemux/qtdemux.c:

View file

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