mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
Make source and source-output server side only
Move source and source-output to the server side again. Make the daemon track objects per sender so that we can remove them when the sender disappears.
This commit is contained in:
parent
1b89f2f8ad
commit
d9444ab360
17 changed files with 139 additions and 205 deletions
|
|
@ -29,7 +29,6 @@ main (gint argc, gchar *argv[])
|
|||
{
|
||||
PvDaemon *daemon;
|
||||
GMainLoop *loop;
|
||||
PvSource *source;
|
||||
|
||||
pv_init (&argc, &argv);
|
||||
|
||||
|
|
@ -37,8 +36,7 @@ main (gint argc, gchar *argv[])
|
|||
|
||||
daemon = pv_daemon_new ();
|
||||
|
||||
source = pv_v4l2_source_new();
|
||||
pv_daemon_add_source (daemon, source);
|
||||
pv_v4l2_source_new (daemon);
|
||||
pv_daemon_start (daemon);
|
||||
|
||||
g_main_loop_run (loop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue