File: camera-Update-docs-to-pipewire-0.3-API.patch

package info (click to toggle)
libportal 0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,280 kB
  • sloc: ansic: 7,646; javascript: 670; cpp: 463; sh: 162; makefile: 36; xml: 20
file content (24 lines) | stat: -rw-r--r-- 958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: David King <amigadave@amigadave.com>
Date: Sun, 24 Jul 2022 17:16:45 +0100
Subject: camera: Update docs to pipewire 0.3 API

Origin: upstream, 0.7, commit:6a7c9d7c23c0c615a68ac8b3018a4d9266721943
---
 libportal/camera.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libportal/camera.c b/libportal/camera.c
index 98725fb..1ee73d8 100644
--- a/libportal/camera.c
+++ b/libportal/camera.c
@@ -281,8 +281,8 @@ xdp_portal_access_camera_finish (XdpPortal     *portal,
  * Opens a file descriptor to the pipewire remote where the camera
  * nodes are available.
  *
- * The file descriptor should be used to create a pw_remote object, by using
- * pw_remote_connect_fd(). Only the camera nodes will be available from this
+ * The file descriptor should be used to create a pw_core object, by using
+ * pw_context_connect_fd(). Only the camera nodes will be available from this
  * pipewire node.
  *
  * Returns: the file descriptor