diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2006-08-30 11:36:06 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2006-08-30 11:36:06 +0000 |
commit | b5c8a136940e11ad0e2f09b2576b9a4c52080aab (patch) | |
tree | 0a157f9a65fea59fbace2a812f2db534528e1e88 /sys/v4l2 | |
parent | 292c339a4c32269fe4200e1987e4d1f3e0be613a (diff) | |
download | gst-plugins-bad-b5c8a136940e11ad0e2f09b2576b9a4c52080aab.tar.gz gst-plugins-bad-b5c8a136940e11ad0e2f09b2576b9a4c52080aab.tar.bz2 gst-plugins-bad-b5c8a136940e11ad0e2f09b2576b9a4c52080aab.zip |
A small fix to set_caps function.
Original commit message from CVS:
A small fix to set_caps function.
Diffstat (limited to 'sys/v4l2')
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 3 |
1 files changed, 1 insertions, 2 deletions
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)) |