v4l2: implement enum_formats with filter

Use the filter to query the device and return a filtered result.
This commit is contained in:
Wim Taymans 2016-09-07 13:43:14 +02:00
parent 8ada6736c0
commit 64ad745437
6 changed files with 302 additions and 44 deletions

View file

@ -230,6 +230,7 @@ again:
g_warning ("error output enum formats: %d", res);
goto error;
}
spa_debug_format (format);
spa_format_fixate (format);
} else if (in_state == SPA_NODE_STATE_CONFIGURE) {
/* only input needs format */