mirror of
https://gitlab.freedesktop.org/pipewire/media-session.git
synced 2026-01-03 15:50:22 +01:00
fix includes and compilation
This commit is contained in:
parent
e6243381cf
commit
4ac1d82d26
2 changed files with 2 additions and 1 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include <spa/utils/json.h>
|
||||
#include <spa/utils/string.h>
|
||||
#include <spa/pod/builder.h>
|
||||
#include <spa/pod/iter.h>
|
||||
#include <spa/pod/parser.h>
|
||||
|
||||
#include "pipewire/pipewire.h"
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ static char *serialize_props(const struct device *dev, const struct spa_pod *par
|
|||
uint32_t i, codecs[64], n_codecs;
|
||||
|
||||
n_codecs = spa_pod_copy_array(&prop->value, SPA_TYPE_Id,
|
||||
codecs, sizeof(codecs));
|
||||
codecs, SPA_N_ELEMENTS(codecs));
|
||||
if (n_codecs == 0)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue