stream: fix driver mode

This commit is contained in:
Wim Taymans 2018-05-02 11:42:04 +02:00
parent 7c4baf88ea
commit b160d81d2f
4 changed files with 5 additions and 5 deletions

View file

@ -219,8 +219,7 @@ static void on_state_changed(void *_data, enum pw_remote_state old, enum pw_remo
printf("remote state: \"%s\"\n",
pw_remote_state_as_string(state));
data->stream = pw_stream_new(remote, "video-src",
pw_properties_new("node.driver", "true", NULL));
data->stream = pw_stream_new(remote, "video-src", NULL);
params[0] = spa_pod_builder_object(&b,
data->t->param.idEnumFormat, data->t->spa_format,