stream: pass target id as uint32_t

This commit is contained in:
Wim Taymans 2018-11-02 11:52:39 +01:00
parent 8089d856c8
commit b905b70a76
7 changed files with 12 additions and 11 deletions

View file

@ -614,7 +614,7 @@ gst_pipewire_src_negotiate (GstBaseSrc * basesrc)
GST_DEBUG_OBJECT (basesrc, "connect capture with path %s", pwsrc->path);
pw_stream_connect (pwsrc->stream,
PW_DIRECTION_INPUT,
pwsrc->path,
pwsrc->path ? atoi(pwsrc->path) : SPA_ID_INVALID,
PW_STREAM_FLAG_AUTOCONNECT,
(const struct spa_pod **)possible->pdata,
possible->len);