v4l2: work on format enumeration

Start work on format enumeration
fix fd leak in v4l2-source
Improve spa-inspect output
This commit is contained in:
Wim Taymans 2016-07-15 13:20:20 +02:00
parent 61caf0e19c
commit 77bc2a1793
6 changed files with 282 additions and 84 deletions

View file

@ -54,8 +54,8 @@ typedef enum {
} SpaPropType;
typedef struct {
int32_t num;
int32_t denom;
uint32_t num;
uint32_t denom;
} SpaFraction;
/**
@ -120,6 +120,7 @@ typedef struct {
* @range_values: array of possible values
* @tags: extra tags, NULL terminated
* @offset: offset in structure with data
* @mask_offset: offset in structure for the mask
* @unset_mask: mask to clear when value is set
* @priv: extra private data
*/