1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00
Commit Graph

557 Commits

Author SHA1 Message Date
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
Moritz Grimm
d40576cd80 Remove superfluous continue; (part 2) 2017-09-20 12:58:09 +02:00
Moritz Grimm
85abb3958c Revert bogus change that introduced a memory leak 2017-09-20 12:55:16 +02:00
Moritz Grimm
454cb5eac3 Mention location of Coverity scan results 2017-09-20 12:42:57 +02:00
Moritz Grimm
6616831590 Switch to a new (unit-tested) metadata handling API 2017-09-20 12:40:33 +02:00
Moritz Grimm
399e66df2b Remove superfluous continue; (CID 171999 et al) 2017-09-20 11:32:34 +02:00
Moritz Grimm
89b4260c83 Ensure that dup() succeeds (CID 172001) 2017-09-20 11:26:35 +02:00
Moritz Grimm
3a471dc164 Assert errstr2 to be not NULL before dereferencing it 2017-09-20 11:20:39 +02:00
Moritz Grimm
1790ca5508 Explicitly exit 0 on success 2017-09-20 00:17:20 +02:00
Moritz Grimm
0fe7a81b8c Reorder defines for consistency 2017-09-19 16:06:09 +02:00