mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
Add monitor interface
Add an interface to monitor devices and helper program Add v4l2 monitor Add simple dictionary with key/value pairs
This commit is contained in:
parent
140f360cc0
commit
9f53eda6cb
29 changed files with 921 additions and 51 deletions
|
|
@ -44,6 +44,7 @@ static void
|
|||
reset_v4l2_source_props (SpaV4l2SourceProps *props)
|
||||
{
|
||||
strncpy (props->device, default_device, 64);
|
||||
props->props.unset_mask = 7;
|
||||
}
|
||||
|
||||
#define MAX_BUFFERS 256
|
||||
|
|
@ -793,6 +794,7 @@ spa_v4l2_source_clock_get_time (SpaClock *clock,
|
|||
static const SpaClock v4l2source_clock = {
|
||||
NULL,
|
||||
sizeof (SpaClock),
|
||||
NULL,
|
||||
SPA_CLOCK_STATE_STOPPED,
|
||||
spa_v4l2_source_clock_get_props,
|
||||
spa_v4l2_source_clock_set_props,
|
||||
|
|
@ -832,7 +834,8 @@ v4l2_source_clear (SpaHandle *handle)
|
|||
|
||||
static SpaResult
|
||||
v4l2_source_init (const SpaHandleFactory *factory,
|
||||
SpaHandle *handle)
|
||||
SpaHandle *handle,
|
||||
const void *config)
|
||||
{
|
||||
SpaV4l2Source *this;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue