mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
v4l2: implement enum_formats with filter
Use the filter to query the device and return a filtered result.
This commit is contained in:
parent
8ada6736c0
commit
64ad745437
6 changed files with 302 additions and 44 deletions
|
|
@ -110,7 +110,7 @@ static const uint32_t format_values[] = {
|
|||
};
|
||||
|
||||
static const SpaPropRangeInfo format_range[] = {
|
||||
{ "ENCODED,", "ENCODED", sizeof (uint32_t), &format_values[1] },
|
||||
{ "ENCODED", "ENCODED", sizeof (uint32_t), &format_values[1] },
|
||||
{ "I420", "I420", sizeof (uint32_t), &format_values[2] },
|
||||
{ "YV12", "YV12", sizeof (uint32_t), &format_values[3] },
|
||||
{ "YUY2", "YUY2", sizeof (uint32_t), &format_values[4] },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue