diff options
author | Wim Taymans <wtaymans@redhat.com> | 2016-07-13 18:29:55 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2016-07-25 10:50:46 +0200 |
commit | 6ab8af91e091c5c556291109894e645a1d063836 (patch) | |
tree | 1db61e263e551c77a07d52cffa4c28847fe04939 /spa/tools | |
parent | 4c7cee6b288ff22cac546ea19b4c9cd42a3d787a (diff) |
More hacking
Add spa based v4l2 pinos module
Add allocation params to port_alloc_buffers
Let the app do allocation for handles.
Diffstat (limited to 'spa/tools')
-rw-r--r-- | spa/tools/spa-inspect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spa/tools/spa-inspect.c b/spa/tools/spa-inspect.c index a15d5893..81a26707 100644 --- a/spa/tools/spa-inspect.c +++ b/spa/tools/spa-inspect.c @@ -188,7 +188,8 @@ inspect_factory (const SpaHandleFactory *factory) else printf (" none\n"); - if ((res = factory->instantiate (factory, &handle)) < 0) { + handle = calloc (1, factory->size); + if ((res = factory->init (factory, handle)) < 0) { printf ("can't make factory instance: %d\n", res); return; } |