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

239 Commits

Author SHA1 Message Date
moritz
df2b05bb61 #1398: Make optional components optional. (For real.)
git-svn-id: https://svn.xiph.org/trunk/ezstream@15782 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 22:59:28 +00:00
moritz
90d4a1a6a3 It's stupid to put my own copyright on a file where I didn't really write the
code. Luckily, I had the proper copyright statement in there already, so moving
it fixes things.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15781 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 20:39:22 +00:00
moritz
b11e6acb36 Squelch another bunch of warnings after checking that what's happening is what's
wanted.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15780 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 20:22:56 +00:00
moritz
f193a9d5ad Use a wrapper around getopt() for portability. This uses the system getopt()
whenever possible, and otherwise uses a stripped down, single options only,
BSD getopt() (which is smaller and doesn't come with ifdef-stuff-in-features.h.)


git-svn-id: https://svn.xiph.org/trunk/ezstream@15779 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 20:12:29 +00:00
moritz
2e33855113 Guarantee that iconvert() never returns NULL. This is a clumsy, but effective
way to prevent NULL dereferences after the recent character conversion changes
in other parts of ezstream.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15778 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 19:51:26 +00:00
moritz
10d883fa98 Unbreak the TagLib checks.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15777 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 00:40:26 +00:00
moritz
9acbffc2dd Overhaul the ezstream build system, using my own library of autoconf macros.
There are a few benefits to this, but the main reason is consistency and me
completely understanding what's going on. Regressions are not expected, but
wouldn't surprise either ... this needs lots of testing.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15776 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 00:08:31 +00:00
moritz
4eab64df5d Assorted type fixes, unshadowing of variables, etc.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15775 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 17:18:56 +00:00
moritz
49e77548c8 "pkg-config --libs shout" has produced correct results for a long time now,
making a custom shout.m4 obsolete.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15774 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 13:15:24 +00:00
moritz
a7b96dce74 Remove iconv.m4, it comes with gettext (i.e. gettext-devel) packages.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15773 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 13:13:24 +00:00
moritz
10c3659620 Remove ogg.m4 and vorbis.m4; the ones installed by libogg/-vorbis are fine.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15772 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 13:12:46 +00:00
moritz
9c2fe7ca40 Update.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15771 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 11:15:28 +00:00
moritz
ae3dd91581 Perform more charset conversions where necessary. This should fix the handling
of files with non-ASCII filenames, as well as some more cases related to
metadata.
From Roman Donchenko <DXDragon at yandex dot ru>, with some minor fixes by
myself.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15770 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 11:05:44 +00:00
moritz
057bc88dad Fixes for MinGW.
From Roman Donchenko <DXDragon at yandex dot ru>.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15769 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 11:00:43 +00:00
moritz
97bfd5b1de Add missing include for shout_t.
From Roman Donchenko <DXDragon at yandex dot ru>.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15768 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 10:59:55 +00:00
moritz
26142cade4 Update tree macros. The manual now actually has an acceptable license.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15767 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-15 10:55:58 +00:00
moritz
86cf28410f Post-release version bump.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14260 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-12-01 21:43:59 +00:00
moritz
90a533d095 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14257 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-12-01 21:21:52 +00:00
moritz
2b9f58e883 It has been very quiet after 0.5.2, so get this minor bugfix release out the
door today.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14256 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-12-01 21:13:57 +00:00
moritz
ddb6c4091f Ignore SIGPIPE, which turned out to be the cause for silent deaths of long-
running ezstream processes.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14255 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-12-01 16:02:55 +00:00
moritz
0856c44749 Post-release version bump.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14101 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 14:34:07 +00:00
moritz
87fb674c44 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14097 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:52:59 +00:00
moritz
1f1789037a Today is release day, finally.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14096 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:50:54 +00:00
moritz
cde2244067 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14095 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:43:13 +00:00
moritz
22884e3fbb * Add new configuration example for streaming from standard input.
* Rename reencoding examples to shorter and less redundant filenames.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14094 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:40:58 +00:00
moritz
0b31a1b57f Improve the reencoding examples; more usable defaults and add more options
to create a more well-defined stream of raw samples.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14093 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:09:08 +00:00
moritz
deee4fa80f Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14010 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-18 07:39:37 +00:00
moritz
259e3c1a62 Improve output messages some more when dealing with standard input.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14009 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-18 07:39:18 +00:00
moritz
ee75e2a315 Wow, now how did that one creep in an remain undetected for so long?
git-svn-id: https://svn.xiph.org/trunk/ezstream@14008 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-18 06:38:51 +00:00
moritz
bc147ce6cb Update.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14000 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:51:48 +00:00
moritz
e81b8b9f6e This needs changin' as well.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13999 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:51:21 +00:00
moritz
fa310e948b Fix use of yet another uninitialized-if-streaming-from-stdin variable. This
prevents bogus output in the "real-time" status line.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13998 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:46:37 +00:00
moritz
1f614e6486 Return a proper error message when there's no more data to read from standard
input.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13997 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:44:42 +00:00
moritz
8460e4bf81 Ticket #1247: Don't dereference uninitialized junk pointers; this fixes a
crash when streaming standard input without also using a metadata program
(d'oh.)


git-svn-id: https://svn.xiph.org/trunk/ezstream@13996 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:28:23 +00:00
moritz
29e8441274 Post-release tweak: Add Ticket number.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13840 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:50:55 +00:00
moritz
f826c1d8f5 Bump version number after the 0.5.1 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13839 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:49:59 +00:00
moritz
86569f8b49 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13835 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:23:50 +00:00
moritz
83d146778f 0.5.1 will be released today.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13834 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:20:51 +00:00
moritz
3c7699edce Update.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13803 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 07:01:38 +00:00
moritz
87c01b03ad Warn, in verbose mode, when dealing with empty playlists.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13802 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 07:01:18 +00:00
moritz
1086dc4f15 In this case, the pl->num check is superfluous.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13801 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 07:00:41 +00:00
moritz
b3f845a60d If there are no playlist entries, dereferencing pl->list causes a segfault.
Fix this by checking pl->num early.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13800 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 06:59:28 +00:00
moritz
6955c0006f Bump version number after the 0.5.0 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13678 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 17:19:10 +00:00
moritz
f50bc527e4 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13672 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 16:22:35 +00:00
moritz
e0cbfd09b0 -Wno-unused-parameter breaks gcc2, remove it.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13671 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 16:02:21 +00:00
moritz
ce1d2139e5 Try harder to link against TagLib.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13670 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 15:55:16 +00:00
moritz
173e2e9539 Today is release day.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13669 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:49:43 +00:00
moritz
957f1d94c5 gettimeofday() everywhere; now ezstream behaves almost the same on Windows
compared to Unix. Also mention TagLib support on Windows in NEWS.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13668 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:47:54 +00:00
moritz
509dc8511e Fake the location of my basename() source to be more clear.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13667 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:46:05 +00:00
moritz
8088ffc62b Having TagLib on Windows means that reading metadata from files should work
like elsewhere now. While here, do some minor tweaking as well.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13665 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 01:59:50 +00:00