mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
rework subscription
Rework subscription so that we can use it for client and server. Move source and source-output to client to allow client provided sources. Still needs some work but registration seems to work partly. Rework DBUS API: move CreateSourceOutput to Client1 interface, remove Add/RemoveProvider and Device1 interface. Rework SourceOutput1 to allow for reconfigure. Add a client to test v4l2 source.
This commit is contained in:
parent
75d5fa91e2
commit
752494621c
19 changed files with 775 additions and 388 deletions
|
|
@ -124,7 +124,7 @@ pv_v4l2_source_init (PvV4l2Source * source)
|
|||
}
|
||||
|
||||
PvSource *
|
||||
pv_v4l2_source_new (PvDaemon *daemon)
|
||||
pv_v4l2_source_new (void)
|
||||
{
|
||||
return g_object_new (PV_TYPE_V4L2_SOURCE, "daemon", daemon, NULL);
|
||||
return g_object_new (PV_TYPE_V4L2_SOURCE, NULL);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
#define __PV_V4L2_SOURCE_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
#include "server/pv-source.h"
|
||||
|
||||
#include <client/pulsevideo.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
@ -50,7 +51,7 @@ struct _PvV4l2SourceClass {
|
|||
|
||||
GType pv_v4l2_source_get_type (void);
|
||||
|
||||
PvSource * pv_v4l2_source_new (PvDaemon *daemon);
|
||||
PvSource * pv_v4l2_source_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue