diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -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: diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 3ad39a43..9837ad89 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -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)) |