Commit graph

601 commits

Author SHA1 Message Date
Wim Taymans
1feec309ec logger: add loadable logger 2017-06-05 15:59:11 +02:00
Wim Taymans
2b5e5f29f7 Add client-node module 2017-06-05 10:53:54 +02:00
Wim Taymans
c30d684b2d core: fix some leaks 2017-06-02 12:54:10 +02:00
Wim Taymans
d50847ef6d Make client-node with a factory
Register a new factory to make client nodes.
Create client nodes with the more generic node_factory. We can then
remove the messages and interfaces.
2017-06-02 12:38:11 +02:00
Wim Taymans
c3aa0f24d2 node: remove redundant info 2017-06-02 11:04:18 +02:00
Wim Taymans
dbe20c9934 Improve introspection
Move introspectable info to the node and link.
Only enumerate the device formats once.
Change some field names.
Pass link format in introspection
2017-06-02 10:43:52 +02:00
Wim Taymans
e48c361a66 Add create_link message
Add create_link for completeness
Add some more docs
2017-06-02 09:46:55 +02:00
Wim Taymans
6a3b5b1bf7 documentation
thread_main_loop -> thread_loop
2017-06-01 19:25:01 +02:00
Wim Taymans
ebaaedef75 Fix change mask names 2017-05-30 20:33:32 +02:00
Wim Taymans
783bbe6c64 Small cleanups 2017-05-30 20:01:37 +02:00
Wim Taymans
e7327d1316 Add doxygen docs 2017-05-30 19:46:51 +02:00
Wim Taymans
f6ca32cdcf Improve debug
Add proxy destroy function and use it to free proxy user_data.
Destroy sources from the poll thread.
Fix format init
2017-05-29 10:32:07 +02:00
Wim Taymans
cf94117244 improve props test 2017-05-26 20:52:04 +02:00
Wim Taymans
ded1ea69a1 indent 2017-05-26 18:19:51 +02:00
Wim Taymans
f7de744ec9 pipewiresink: fix buffer reuse
Only unref the buffer back into the pool after we get the signal
from the stream that we can reuse the buffer.
2017-05-26 17:26:08 +02:00
Wim Taymans
08522a162e indent 2017-05-26 17:25:58 +02:00
Wim Taymans
b899d43401 pipewiresink: take lock for stream methods 2017-05-26 15:55:30 +02:00
Wim Taymans
6b2d77e64d small cleanups 2017-05-26 15:55:23 +02:00
Wim Taymans
0f6b3a7cab indent 2017-05-26 09:09:31 +02:00
Wim Taymans
5b037661d9 indent 2017-05-26 08:05:01 +02:00
Wim Taymans
d1a06ae247 indent -kr -i8 -l100 2017-05-25 16:23:13 +02:00
Wim Taymans
11f23a3ffa spa: don't use typedef for struct and enum 2017-05-25 13:28:15 +02:00
Wim Taymans
83964cec87 pinos -> pipewire 2017-05-23 19:15:33 +02:00
Wim Taymans
f12a5ffc80 Remove redundant fields from PortInfo 2017-05-22 18:02:31 +02:00
Wim Taymans
d1a6d6e03f param: add more generic port params
Remove port properties and replace them with port params. Move the
params from the PortInfo to enum_params.
Use the Param ranges to specify possible sizes etc.
2017-05-22 13:06:18 +02:00
Wim Taymans
12effccb06 Add fakesrc ! fakesink test
Add fakesrc and fakesink and some performance test
Small cleanups
2017-05-19 12:48:51 +02:00
Wim Taymans
6691eb7845 graph: add graph datastructure and scheduler
Improve event and command init so that it can be used more easily
as compound literals.
Improve volume
Make it possible to use graph scheduler in test-mixer
2017-05-18 17:16:48 +02:00
Wim Taymans
53dd63eb3a type: improve type check 2017-05-17 12:47:33 +02:00
Jonas Ådahl
0855ca0050 spa: Include type-map.h where necesarry
These include files need type declarations in type-map.h. Don't require
includers to know that; just include dependencies directly.
2017-05-17 11:56:38 +02:00
Wim Taymans
845ff79f9f pinossrc: also finish format when clearing the format 2017-05-17 11:55:48 +02:00
Jonas Ådahl
361059ed3c gstpinossrc: Don't crash when format is changed to NULL 2017-05-17 11:54:03 +02:00
Wim Taymans
3c7f1e09fb pinossrc: add always-copy property 2017-05-17 11:49:57 +02:00
Wim Taymans
eca852cdd3 link: only pause when no links 2017-05-17 10:10:42 +02:00
Wim Taymans
c6f7197f00 format: convert max-framerate 2017-05-17 10:10:27 +02:00
Linus Svensson
e27ec1a203 Only use string literals as format
Fixes -Wformat-security error.
2017-05-16 09:31:50 +02:00
David Svensson Fors
bc2f53a31c context: stop reading messages when disconnecting 2017-05-16 09:31:50 +02:00
David Svensson Fors
663a3df9af connection: handle refill_buffer() error in get_next() 2017-05-16 09:28:12 +02:00
Linus Svensson
4d3c194491 pinos/client/log.h: Fix compiler error 2017-05-16 09:27:31 +02:00
Linus Svensson
7b7c6df836 spa: Add pc file 2017-05-16 09:26:43 +02:00
Linus Svensson
a5c9ba1e5b Install all header files 2017-05-16 09:24:21 +02:00
Linus Svensson
49d635ae68 Follow installed include path for spa headers 2017-05-16 09:20:42 +02:00
Linus Svensson
cba22d0e39 spa/plugins/videotestsrc: Draw correctly for all resolutions
Use an incremented variable to support all resolutions. If the width of
the pludge part of the test image was not dividable by three, a
rounding error made the resulting pattern containing noise.
2017-05-16 09:14:36 +02:00
Linus Svensson
740125a12e meson.build: Install conf file under ${sysconfdir}
Base conf file path on sysconfdir. sysconfdir can be specified with an
absolute or relative path. To ensure PINOS_CONFIG_DIR is set correctly,
use join_paths() to prepend prefix when sysconfdir is relative.

Meson added support for sysconfdir in version 0.34.0 and join_paths() in
version 0.36.0.
2017-05-16 09:13:36 +02:00
Linus Svensson
04ffc679fc spa: Include version in libspa-lib.so 2017-05-16 09:12:53 +02:00
Linus Svensson
2011023da7 meson.build: Include API version in module directory 2017-05-16 09:11:03 +02:00
Wim Taymans
b80fc0b08e defs: remove invalid direction
Anything not in the enum is invalid
2017-05-16 09:06:37 +02:00
Linus Svensson
1079d433ef meson.build: No need for PLUGINDIR 2017-05-16 09:06:07 +02:00
Wim Taymans
05adcb31e5 v4l2: no range for fixed framerates
Print fixed values correctly
2017-05-12 13:00:33 +02:00
Wim Taymans
bf09421240 pinossink: improve sink 2017-05-12 11:00:25 +02:00
Wim Taymans
6cbf398ad4 node: the callbacks determine async operation 2017-05-11 16:11:08 +02:00