mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
small cleanups
Remove the temp storage for formats and props now that we get a builder from the host to write into.
This commit is contained in:
parent
f3bca48398
commit
4d890a2d98
9 changed files with 7 additions and 48 deletions
|
|
@ -683,7 +683,6 @@ spa_v4l2_enum_format(struct impl *this,
|
|||
media_subtype = *SPA_MEMBER(&this->type, info->media_subtype_offset, uint32_t);
|
||||
video_format = *SPA_MEMBER(&this->type, info->format_offset, uint32_t);
|
||||
|
||||
spa_pod_builder_init(builder, port->format_buffer, sizeof(port->format_buffer));
|
||||
spa_pod_builder_push_object(builder, &f[0],
|
||||
this->type.param.idEnumFormat, this->type.format);
|
||||
spa_pod_builder_add(builder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue