mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
v4l2src: add a comment about a "hidden" assumption on rank values
https://bugzilla.gnome.org/show_bug.cgi?id=665387
This commit is contained in:
parent
f18f238968
commit
1e974b1581
1 changed files with 2 additions and 0 deletions
|
@ -893,6 +893,8 @@ gst_v4l2_object_get_format_from_fourcc (GstV4l2Object * v4l2object,
|
|||
|
||||
|
||||
/* complete made up ranking, the values themselves are meaningless */
|
||||
/* These ranks MUST be X such that X<<15 fits on a signed int - see
|
||||
the comment at the end of gst_v4l2_object_format_get_rank. */
|
||||
#define YUV_BASE_RANK 1000
|
||||
#define JPEG_BASE_RANK 500
|
||||
#define DV_BASE_RANK 200
|
||||
|
|
Loading…
Reference in a new issue