Nirbheek Chauhan
b7d91711f7
ipcpipeline: Minimal fixes that allow building with MSVC
2020-01-14 09:23:02 +05:30
Nirbheek Chauhan
c8db7a9127
ipcpipeline: Rework compiler checks
...
`pipe()` isn't used since 15927b6511
,
and `socketpair()` from `#include <sys/socket.h>` is used only in the
examples. In practice, you can use probably also use anything that
allows you to create fd pairs, such as named pipes or anonymous pipes.
We use the cross-platform GstPollFD API in the plugin.
2020-01-14 09:23:02 +05:30
Niels De Graef
d8f61515d8
Don't pass default GLib marshallers for signals
...
By passing NULL to `g_signal_new` instead of a marshaller, GLib will
actually internally optimize the signal (if the marshaller is available
in GLib itself) by also setting the valist marshaller. This makes the
signal emission a bit more performant than the regular marshalling,
which still needs to box into `GValue` and call libffi in case of a
generic marshaller.
Note that for custom marshallers, one would use
`g_signal_set_va_marshaller()` with the valist marshaller instead.
2019-11-06 14:27:46 +00:00
Aaron Boxer
6d3429af34
documentation: fixed a heap o' typos
2019-11-05 09:11:25 -05:00
Tim-Philipp Müller
f218ec2794
Remove autotools build system
2019-10-14 13:54:27 +01:00
Thibault Saunier
47a49f3381
docs: Build documentation with hotdoc
2019-05-13 17:00:00 -04:00
Tim-Philipp Müller
2b8659a3ef
meson: build opencv and ipcpipeline examples
...
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/576
2018-11-29 12:29:50 +00:00
Nirbheek Chauhan
b55dfb5313
Add feature options for almost all plugins
...
The only plugins remaining are those that haven't been ported to Meson
yet, and msdk. Also, the tests are still automagic.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 19:04:38 +05:30
Xavier Claessens
83d0623293
Meson: Generate pc file for all plugins in bad
...
https://bugzilla.gnome.org/show_bug.cgi?id=794568
2018-04-25 11:08:09 +01:00
Edward Hervey
5706178d54
ipcpipeline: Don't leak structure
...
CID #1416131
2017-11-23 08:09:36 +01:00
Edward Hervey
39cd2bf8fe
ipcpipeline: Simplify usage of g_cond_wait_until()
...
It will return FALSE if a timeout happened. So don't check if we
timed out afterwards, just use the return value.
CID #1416347
2017-11-23 08:05:48 +01:00
Edward Hervey
00cfa72085
ipcpipeline: Check the proper value
...
The code is meant to check the *peer* state change return value
(and not the sink's one).
CID #1416128
2017-11-23 08:02:58 +01:00
George Kiagiadakis
83883a5c18
ipcpipeline: cleanup header includes
...
We are only using read(), write(), memcpy(), strlen() and errno
in ipcpipelinecomm.c. Everything else is glib/gstreamer.
2017-09-04 16:03:17 +03:00
George Kiagiadakis
15927b6511
ipcpipeline: use GstPoll instead of select() to watch for socket activity
...
... and make that code more readable in the process
https://bugzilla.gnome.org/show_bug.cgi?id=787208
2017-09-04 15:52:03 +03:00
George Kiagiadakis
58e2b2ef1c
ipcpipeline: don't use g_steal_pointer; it's not in the current required version of GLib
...
We depend on GLib 2.40, g_steal_pointer was introduced in 2.44.
https://bugzilla.gnome.org/show_bug.cgi?id=785698
2017-08-02 10:46:46 +03:00
George Kiagiadakis
30f5abc32c
ipcpipeline: move to sys/ and make it dependent on platform support for unix sockets
2017-08-02 10:40:24 +03:00