diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-08-07 10:22:32 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-08-07 10:22:32 +0000 |
commit | ab01993d33a691dde8cc70aa20d8249e3f913e8b (patch) | |
tree | 12c9281d171622c2fd0e95aee41a513280a21f56 /sys | |
parent | 8ced1b35ff4080df103333b58caa27ae86c78f2a (diff) |
sys/v4l2/v4l2src_calls.c: When outputting a pad template range for the size, include a framerate range too, to avoid ...
Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
When outputting a pad template range for the size, include a framerate
range too, to avoid 'not a real subset of template caps' errors.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/v4l2src_calls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c index 7878f279..c35d3ee2 100644 --- a/sys/v4l2/v4l2src_calls.c +++ b/sys/v4l2/v4l2src_calls.c @@ -913,7 +913,8 @@ default_frame_sizes: /* if norm can't be used, copy the template framerate */ gst_structure_set (tmp, "width", GST_TYPE_INT_RANGE, min_w, max_w, - "height", GST_TYPE_INT_RANGE, min_h, max_h, NULL); + "height", GST_TYPE_INT_RANGE, min_h, max_h, + "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, 100, 1, NULL); } gst_caps_append_structure (ret, tmp); |