mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
Make media type and subtype properties
This is easier to debug and we only want properties in objects in the future.
This commit is contained in:
parent
514528f2c7
commit
ff6a244d8f
45 changed files with 151 additions and 124 deletions
|
|
@ -32,8 +32,8 @@ static inline int
|
|||
spa_format_parse(const struct spa_pod *format, uint32_t *media_type, uint32_t *media_subtype)
|
||||
{
|
||||
return spa_pod_object_parse(format,
|
||||
"I", media_type,
|
||||
"I", media_subtype, NULL);
|
||||
":", SPA_FORMAT_mediaType, "I", media_type,
|
||||
":", SPA_FORMAT_mediaSubtype, "I", media_subtype, NULL);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue