diff options
author | David Elsing <david.elsing@posteo.net> | 2023-03-29 23:01:53 +0200 |
---|---|---|
committer | David Elsing <david.elsing@posteo.net> | 2023-03-30 17:36:40 +0200 |
commit | c3081ece401bec8b14ba962a5120fe92f4166577 (patch) | |
tree | 6b7e918a4de52ecfdaa9fed30a330464685dddea /src/voip/CallManager.cpp | |
parent | 7f98cd01330057ade7cb7f5703b8ca896ecc36ab (diff) |
Cleanup Qt D-Bus connections and watchers
Diffstat (limited to 'src/voip/CallManager.cpp')
-rw-r--r-- | src/voip/CallManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voip/CallManager.cpp b/src/voip/CallManager.cpp index e7bd45e4..d9866c2c 100644 --- a/src/voip/CallManager.cpp +++ b/src/voip/CallManager.cpp @@ -1061,7 +1061,7 @@ CallManager::previewWindow(unsigned int index) const return; } GstElement *pipewiresrc = gst_element_factory_make("pipewiresrc", nullptr); - g_object_set(pipewiresrc, "fd", (gint)stream->fd, nullptr); + g_object_set(pipewiresrc, "fd", (gint)stream->fd.fileDescriptor(), nullptr); std::string path = std::to_string(stream->nodeId); g_object_set(pipewiresrc, "path", path.c_str(), nullptr); g_object_set(pipewiresrc, "do-timestamp", (gboolean)1, nullptr); |