mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-13 13:30:05 -05:00
Add h264 format
Improve format support Remove the type from the value because we can find that from the property info.
This commit is contained in:
parent
648e5a299b
commit
829adbab59
19 changed files with 363 additions and 309 deletions
|
|
@ -97,18 +97,28 @@ typedef enum {
|
|||
SPA_PROP_RANGE_TYPE_FLAGS,
|
||||
} SpaPropRangeType;
|
||||
|
||||
/**
|
||||
* SpaPropValue:
|
||||
* @size: the property size
|
||||
* @value: the property value.
|
||||
*
|
||||
* The structure to set and get properties.
|
||||
*/
|
||||
typedef struct {
|
||||
size_t size;
|
||||
const void *value;
|
||||
} SpaPropValue;
|
||||
|
||||
/**
|
||||
* SpaPropRangeInfo:
|
||||
* @name: name of this value
|
||||
* @description: user visible description of this value
|
||||
* @size: the size of value
|
||||
* @value: a possible value
|
||||
* @val: the value
|
||||
*/
|
||||
typedef struct {
|
||||
const char *name;
|
||||
const char *description;
|
||||
size_t size;
|
||||
const void *value;
|
||||
SpaPropValue val;
|
||||
} SpaPropRangeInfo;
|
||||
|
||||
/**
|
||||
|
|
@ -139,20 +149,6 @@ typedef struct {
|
|||
const char **tags;
|
||||
} SpaPropInfo;
|
||||
|
||||
/**
|
||||
* SpaPropValue:
|
||||
* @type: a property type
|
||||
* @size: the property size
|
||||
* @value: the property value.
|
||||
*
|
||||
* The structure to set and get properties.
|
||||
*/
|
||||
typedef struct {
|
||||
SpaPropType type;
|
||||
size_t size;
|
||||
const void *value;
|
||||
} SpaPropValue;
|
||||
|
||||
/**
|
||||
* SpaProps:
|
||||
* @n_prop_info: number of elements in @prop_info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue