mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
props: make properties dynamic keys and values
This commit is contained in:
parent
048a4b81a8
commit
e28b5f91b8
15 changed files with 271 additions and 223 deletions
|
|
@ -282,9 +282,9 @@ draw (SpaVideoTestSrc *this, char *data)
|
|||
return res;
|
||||
|
||||
pattern = this->props.pattern;
|
||||
if (pattern == pattern_val_smpte_snow)
|
||||
if (pattern == this->uri.pattern_smpte_snow)
|
||||
draw_smpte_snow (&dd);
|
||||
else if (pattern == pattern_val_snow)
|
||||
else if (pattern == this->uri.pattern_snow)
|
||||
draw_snow (&dd);
|
||||
else
|
||||
return SPA_RESULT_NOT_IMPLEMENTED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue