mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
|
|
@ -32,7 +32,7 @@ on_state_notify (GObject *gobject,
|
|||
gpointer user_data)
|
||||
{
|
||||
PvContextState state;
|
||||
PvContext *c = user_data;
|
||||
//PvContext *c = user_data;
|
||||
|
||||
g_object_get (gobject, "state", &state, NULL);
|
||||
g_print ("got context state %d\n", state);
|
||||
|
|
@ -43,10 +43,10 @@ on_state_notify (GObject *gobject,
|
|||
break;
|
||||
case PV_CONTEXT_STATE_READY:
|
||||
{
|
||||
PvSource *source;
|
||||
//PvSource *source;
|
||||
|
||||
source = pv_v4l2_source_new ();
|
||||
pv_context_register_source (c, source);
|
||||
//source = pv_v4l2_source_new (NULL);
|
||||
//pv_context_register_source (c, source);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue