Wim Taymans
c511b530ed
thread-loop: improve error checking
2018-12-20 10:33:59 +01:00
Wim Taymans
5c6bd8e5c7
free() can handle NULL just fine so skip the check
...
Fixes #117
2018-12-20 09:32:28 +01:00
Wim Taymans
5390079b4a
video-src: set valid cursor id
2018-12-18 16:01:12 +01:00
Wim Taymans
7f52246caf
Add some more error checking
...
Fixes #116
2018-12-18 15:37:08 +01:00
Wim Taymans
73aac68908
flatpak: only update permissions on sandboxed clients
2018-12-12 15:47:01 +01:00
Wim Taymans
39078f2abc
meta: use spa_point and spa_rectangle
...
Change Cursor and Bitmap to what the work branch uses
2018-11-30 15:49:58 +01:00
Wim Taymans
8205486554
video-play: handle arbitrary cursor sizes
...
video-play: only allocate the texture when we know the size and
format of the cursor bitmap.
video-src: make cursor size defined with constants.
2018-11-30 12:09:31 +01:00
Wim Taymans
218fd081df
meta: define invalid cursor metadata
2018-11-30 12:08:53 +01:00
Wim Taymans
cd53eca92b
meta: add cursor metadata and examples
...
Add a moving and flashing circle cursor to video-src
Render the cursor in video-play
2018-11-30 11:07:45 +01:00
maxice8
67a0b33dc8
module-rtkit: define RLIMIT_RTTIME in case it isn't defined.
...
musl libc doesn't define RLIMIT_RTTIME
2018-11-26 12:22:38 +00:00
maxice8
5dcaa450ff
meson: don't add systemd_dep to dependencies if systemd option is false.
2018-11-26 12:22:24 +00:00
maxice8
57ba8108f1
meson: Fix configure when systemd option is set to false
...
Otherwise it fails with systemd variable not found.
2018-11-26 12:22:13 +00:00
Wim Taymans
49afacd66f
v4l2: fix crash when unplugging
...
Only remove the v4l2 fd once on disconnect
Make sure we don't use the clock anymore when a link is destroyed.
2018-11-22 10:54:57 +01:00
Wim Taymans
16b6a51b78
examples: add video crop example
...
Add support for video crop metadata in video-play and draw only the
cropped areas.
Add support for video crop in video-src and make it generate cropping
regions that grow and shrink dynamically.
2018-11-22 10:18:50 +01:00
Wim Taymans
6f918561c9
flatpak: also check for client property changes
...
If a client changes the "pipewire.access" property to "flatpak",
start handling the client as a flatpak client and do portal
checks. This is useful when the portal makes a connection for the
client and needs to for portal checks.
2018-11-06 13:28:36 +01:00
Wim Taymans
1f5fec5983
improve update_properties
...
Make _update_properties return the number of changed properties and
only emit info when something changed.
2018-11-06 12:35:59 +01:00
Wim Taymans
d5c894cfd8
properties: don't add NULL values
...
NULL values should remove the key.
2018-11-06 12:21:44 +01:00
Thibault Saunier
795b352cba
meson: Use feature for GStreamer and make it auto
...
Bumping version dependency of meson
Fix minor new warning in meson
2018-10-31 07:46:36 +00:00
Mathieu Duponchelle
8693e416bc
examples: document how to run
2018-10-29 13:26:46 +00:00
Wim Taymans
e29229b6e0
protocol-native: return errno when server failed
...
this gives a better error code
2018-10-18 11:15:27 +02:00
Wim Taymans
6266cd0f48
protocol-native: -1 is for invalid fd, not 1
2018-10-18 11:14:52 +02:00
Wim Taymans
e5dcacdefb
add systemd socket activation
2018-10-18 10:47:21 +02:00
Wim Taymans
8d2a9fcf62
pipewire: fix leak of dbus interface
...
Track loaded interfaces.
Add a method to release the dbus interface when the core is
destroyed.
Free SDL resources in video-play example
2018-09-19 15:58:05 +02:00
Wim Taymans
9e60fd0b57
stream: improve cleanup
...
Destroy proxies before disconnect, they might still need the connection.
Destroy the stream related objects when the stream node is destroyed.
Don't try to remove the mainloop sources from the data loop.
Don't try to create properties in _connect, we already created them
in _new.
In disconnect, make the server destroy the node and destroy our local
proxy.
2018-09-17 12:24:15 +02:00
Jan Alexander Steffens (heftig)
bbba49aae1
meson: Use pkgconfig.generate
...
Also fixes the moduledir having a duplicated prefix.
2018-09-03 21:21:47 +02:00
Jesse Pullinen
692d96b9a4
Fix memory leak in pw_properties_set
...
removing a property leaked the key
2018-09-03 21:19:54 +02:00
Wim Taymans
8ae7577689
remove unused functions
2018-08-17 16:28:43 +02:00
Wim Taymans
9ea266f789
protocol: don't log error on disconnect
...
Just log an info message on disconnect. Fixes #33
2018-08-17 13:18:00 +02:00
Rasmus Thomsen
3bf53f5e22
meson: rename options as per meson's style guide
...
see https://mesonbuild.com/Style-guide.html
2018-08-17 10:29:39 +02:00
Rasmus Thomsen
165c441ced
meson: add systemd option
...
This is handy for source distributions, which want to avoid
automagic dependencies
2018-08-17 10:29:39 +02:00
Rasmus Thomsen
90400b17d6
build: respect 'includedir' meson param
2018-08-17 10:28:35 +02:00
Wim Taymans
d70e027a99
daemon: add some options
2018-08-17 09:38:08 +02:00
Wim Taymans
5eac8f7675
remove last debug includes
...
Fixes #82
2018-08-16 13:26:49 +02:00
Wim Taymans
fb76b65dfb
gst: fix clock handling again
...
Request periodic clock updates.
Interpollate clock times in the gstreamer clock
Make sure we don't read the clock after shutdown.
2018-08-15 17:27:17 +02:00
Wim Taymans
98f54c4135
pipewiresink: improve driver mode
2018-08-15 13:16:11 +02:00
Wim Taymans
c6f701588f
link: improve debug
2018-08-15 13:15:54 +02:00
Wim Taymans
cc1062933b
example: improve debug
2018-08-15 13:15:36 +02:00
Wim Taymans
d8525e3732
hooks: enforce version on hook emission
...
Pass the minimum required version to the hook emission and only call
events when the handler is recent enough.
Add some macros to make event emission easier to read.
2018-08-15 11:53:23 +02:00
Wim Taymans
150e30dfb9
map: make for_each use a return value
...
Make it possible to stop pw_map_for_each by adding a return value
to the callback.
2018-08-15 11:25:05 +02:00
Wim Taymans
813506a614
map: use invalid value for empty list
2018-08-14 17:03:17 +02:00
Wim Taymans
d93afe7f9b
core: set version
2018-08-14 15:37:18 +02:00
Wim Taymans
4eae1f0c6f
debug: add specific format debug
2018-08-14 13:05:10 +02:00
Wim Taymans
9d36b85dd6
remove spalib
2018-08-14 12:33:53 +02:00
Wim Taymans
d3b9a52ec4
don't link with spalib when we don't have to
2018-08-13 17:22:55 +02:00
Wim Taymans
872a1131fa
pod: move compare and filter functions out of the library
2018-08-13 17:17:23 +02:00
Wim Taymans
336fd190b4
pipewire: debug version in init
2018-08-13 15:46:48 +02:00
Wim Taymans
6ba0ef7f2d
stream: don't include stream.h twice
...
Fixes #67
2018-08-13 15:46:28 +02:00
Wim Taymans
d51fb8687b
deviceprovider: fix memory leaks
...
Fix leaking of the node info and caps by tracking the proxy object
and freeing our stuff when it is destroyed.
2018-08-13 15:20:25 +02:00
Wim Taymans
a2cfb0882b
gst: keep track of clock time
...
Invalidate the clock when the stream is destroyed and let the new
clock take the time of previous clock when no timing info is
available.
2018-08-13 15:19:20 +02:00
Wim Taymans
5a3883509b
stream: return error when no timing info yet
2018-08-13 14:28:25 +02:00