1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-01 03:54:15 -04:00
Commit Graph

668 Commits

Author SHA1 Message Date
Moritz Grimm
24e69c2e52 Bump copyright 2018-07-17 10:49:13 +02:00
Moritz Grimm
9f2cd71aed Define "ezstream" only once 2018-07-17 10:31:25 +02:00
Moritz Grimm
92ffc9ac50 Rename function for consistency 2018-07-16 16:25:50 +02:00
Moritz Grimm
814434bfb5 Remove unneeded #define 2018-07-16 16:24:44 +02:00
Moritz Grimm
f7521b83e4 Add verbatim auto-translated CircleCI 2.0 configuration 2018-04-18 09:55:53 +02:00
Moritz Grimm
c4c9b96a0b Ensure stream_validate() sets errstr properly 2018-03-21 10:14:33 +01:00
Moritz Grimm
429a39196e Fail with assert() if open() fails
This is an attempt to resolve a coverity false positive in a somewhat
sane way.
2018-03-21 10:09:31 +01:00
Moritz Grimm
8c4fb52bd4 Bump copyright 2018-02-02 16:42:48 +01:00
Moritz Grimm
7c509a575a Fix up freeConfig() 2018-01-23 13:17:00 +01:00
Moritz Grimm
ca76365c61 Add missing include 2018-01-23 10:42:45 +00:00
Moritz Grimm
75a9a410aa Style improvements 2018-01-23 11:10:04 +01:00
Moritz Grimm
20c7bd64b1 Properly initialize ez 2018-01-23 11:09:45 +01:00
Moritz Grimm
d81a3e23bb Add configuration migration tool 2018-01-23 01:51:48 +01:00
Moritz Grimm
5287bbdd4b Support pass-through encoder (again) 2018-01-23 00:44:04 +01:00
Moritz Grimm
b7d1269944 Add example that calls meta.sh 2018-01-22 17:35:11 +01:00
Moritz Grimm
6e92298a98 Tweak to hit a few more code paths 2018-01-22 17:34:31 +01:00
Moritz Grimm
113d8a6b88 Make set_progname() reusable 2018-01-19 13:03:32 +01:00
Moritz Grimm
4b4fee9ed0 Make xalloc, util, and log reusable as libcommon 2018-01-19 12:40:01 +01:00
Moritz Grimm
86bd51b39a Decouple cfg from log 2018-01-19 12:32:30 +01:00
Moritz Grimm
d0cf1d8bbd Increase getTimeString static buffer 2018-01-18 11:42:37 +01:00
Moritz Grimm
0b260b3c08 Make media inputs ("intakes") a list of things, too 2017-11-23 18:34:57 +01:00
Moritz Grimm
184e2dd8c3 Fix include-once define 2017-11-23 18:26:31 +01:00
Moritz Grimm
83547bf34f --enable-debug no longer exists 2017-11-23 18:22:34 +01:00
Moritz Grimm
6566705361 Fix includes 2017-11-18 02:12:12 +01:00
Moritz Grimm
ed9e84f387 Change config format to (eventually) support concurrent streams to many servers
Everything ties together in stream configurations, of which there can be many
now.

For the time being, every stream configuration but the "default" is ignored.

Every stream/server/encoder/decoder configuration now has the name "default"
by default, so that configuring names is only needed to resolve ambiguities.

Decoder configurations are now also constrained in this manner for consistency,
meaning they are no longer uniquely identified by a number of file extensions
but also a name.
2017-11-18 01:54:14 +01:00
Moritz Grimm
f82cf2b458 Add ezstream-file support for -p pidfile 2017-11-18 01:20:55 +01:00
Moritz Grimm
cc5a3ab5d3 Safely squelch a bunch of warnings 2017-10-04 15:23:21 +02:00
Moritz Grimm
c6741ab55f Fix a type error 2017-10-04 15:22:12 +02:00
Moritz Grimm
0e414f6142 Remove unused variable and change out_len to unsigned 2017-09-28 12:40:52 +02:00
Moritz Grimm
8a74a830fc Merge branch 'develop' of ssh://git.xiph.org/ezstream into develop 2017-09-28 12:16:57 +02:00
Moritz Grimm
776d57c8dc After hitting the Coverity quota once, switch branches 2017-09-28 12:15:20 +02:00
Moritz Grimm
857f096ba0 Libshout behaves irregularly; make tests cope 2017-09-25 20:45:47 +00:00
Moritz Grimm
cb77b073de Explicitly check that m_str is NULL after an error return
Hopefully, this is enough of a hint to Coverity to squelch that
resource leak false positive as well ...
2017-09-25 21:01:55 +02:00
Moritz Grimm
a896f2cc19 Increase test coverage for stream_*() 2017-09-25 20:49:59 +02:00
Moritz Grimm
6466b6ea19 Prefer crashing over no coredump 2017-09-25 19:47:24 +02:00
Moritz Grimm
bcb097a16e Remove more superfluous access() checks
Removes TOCTOU complaints from Coverity
2017-09-25 19:34:37 +02:00
Moritz Grimm
b19b746e5f Revert introduction of !0 pattern for "true" 2017-09-25 18:19:07 +02:00
Moritz Grimm
4551bfdbc0 Remove superfluous access() as unlink() does the same thing 2017-09-25 18:18:07 +02:00
Moritz Grimm
9cb757f17f Add util_* tests 2017-09-25 17:48:39 +02:00
Moritz Grimm
ddc30688e6 Remove unused function 2017-09-25 17:47:12 +02:00
Moritz Grimm
cb997e549c Fix multiple issues in util_shellquote 2017-09-25 17:09:38 +02:00
Moritz Grimm
1d0b9d4801 Simplify util_strrcmp to return a strictly boolean value 2017-09-25 17:07:40 +02:00
Moritz Grimm
f5f130e036 Do not block when trying to lock a PID file; fail immediately 2017-09-25 17:06:38 +02:00
Moritz Grimm
8cc45a3a3d Do not assign save_errno for no reason 2017-09-25 17:05:44 +02:00
Moritz Grimm
448ea0c276 Stop clang CI builds for the time being
This is the easiest way to prevent double-scans with Coverity.
2017-09-20 18:21:52 +02:00
Moritz Grimm
aaa32bf812 Retire rand() in favor of the upcoming getrandom() on Linux
Only the non-getrandom() code paths have been tested at this point.
2017-09-20 18:12:52 +02:00
Moritz Grimm
8499362ce6 Clean up after AM_ICONV no longer allowing multiple invocations 2017-09-20 16:12:07 +02:00
Moritz Grimm
38133919c4 Remove tests for functions that are assumed to be present 2017-09-20 15:52:12 +02:00
Moritz Grimm
2cdda45c16 Unconditionally close allocated stderr FDs 2017-09-20 14:42:19 +02:00
Moritz Grimm
ae85c26cae Fix weird program logic by removing getMetadata() 2017-09-20 13:23:32 +02:00