mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
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.
This commit is contained in:
parent
8ced1b35ff
commit
ab01993d33
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-07 Jan Schmidt <Jan.Schmidt@sun.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2008-08-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Based on a patch by: Jonathan Matthew <notverysmart at gmail dot com>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue