Philipp Schafft
471cbaa60b
Fix: remove tailing dots in URI.
...
This works around the problem that windows ignores tailing dots.
This way you could trick Icecast2 to send a XSLT file as plain text.
Please test.
Closes : #2247
2015-12-24 00:38:11 +00:00
Joseph Wallace
d196e75416
Convert ints used as boolean values into actual bools.
2015-12-19 15:32:37 -05:00
Joseph Wallace
1f6a0a497f
Replace "long long"s with an appropriate type from <stdint.h>
2015-12-19 15:02:33 -05:00
Philipp Schafft
255af9e610
Fix: Moved <mime-types> into <paths>.
...
This moved the <mime-types> setting into <paths>. The code still
supports reading it from the root element but will warn the user
about this.
Also there seems to be no documentation about this setting.
Closes : #2164
2015-12-12 08:17:58 +00:00
Joseph Wallace
de004670c3
Be clearer about ebml_parse_sized_int's sign & endian behavior.
2015-12-01 02:21:24 -05:00
Philipp Schafft
3dd8bdbf40
Feature: display playlist
2015-11-28 18:11:01 +00:00
Philipp Schafft
d3370f3d1c
Cleanup: unify util.c a bit with libshout.
2015-11-28 17:58:18 +00:00
Joseph Wallace
e6cb7e26ee
Move ebml-private structure definitions out of header file.
2015-11-28 12:49:54 -05:00
Joseph Wallace
0d7448efc7
Change buffer-related sizes & indices to size_t or ssize_t, as applicable.
2015-11-28 12:49:45 -05:00
Joseph Wallace
8a09627d05
Fix type of copy_state in EBML parser to an enum variable.
2015-11-28 12:41:46 -05:00
Joseph Wallace
dc263858a4
Additional format_ebml.c comments.
2015-11-28 12:41:46 -05:00
Joseph Wallace
af238d9129
Move MKV element magic values into proper #define constants.
2015-11-28 12:41:46 -05:00
Joseph Wallace
d394a244f0
Bugfix: Cluster test could have read past the end of the input buffer.
...
Move the cluster test inside the space-to-read check with the other tests.
2015-11-28 12:41:46 -05:00
Joseph Wallace
9de8fe483d
Remove spare whitespace on blank lines.
2015-11-28 12:41:46 -05:00
Joseph Wallace
e4258bfad3
Don't wait for video keyframes on audio-only streams.
2015-11-28 12:41:46 -05:00
Joseph Wallace
9cf4ed560c
Probe SimpleBlocks to determine which clusters start with a keyframe.
2015-11-28 12:41:45 -05:00
Joseph Wallace
6e11db5de2
Probe Tracks section of header to identify the video track.
...
We'll sync keyframes on that track next commit.
2015-11-28 12:41:45 -05:00
Joseph Wallace
9899413839
Add parser for bodies of Integer elements.
2015-11-28 12:41:45 -05:00
Joseph Wallace
f461ff6763
Buffer clusters to have time to probe them for metadata, like keyframes.
2015-11-28 12:41:45 -05:00
Joseph Wallace
def5a4cf6c
Implement EBML-aware parser.
...
* Loop over elements in input buffer.
* Most are literally copied with their contents without
inspection into the header or data buffers as appropriate.
* Some only copy the element header, to allow inspecting
children elements.
* Cluster elements are identified and used as sync points.
No probing is done for keyframes *yet*
2015-11-28 12:41:45 -05:00
Joseph Wallace
50c4984c78
Add functions to comprehend EBML tags.
2015-11-28 12:41:45 -05:00
Joseph Wallace
531d060d16
Adjust EBML parser writing protocol.
...
This will allow leaving unparsed data in the input buffer to wait for completion.
2015-11-28 12:41:45 -05:00
Joseph Wallace
13dc880d29
Yield sync point status from ebml_read directly.
...
This simplifies some fragile "was the last chunk a sync point?" logic.
2015-11-28 12:41:45 -05:00
Joseph Wallace
744b66c40e
Make the state-machine nature of the EBML parser more evident.
2015-11-28 12:41:45 -05:00
Joseph Wallace
15e7fc6e4a
Add comments & braces to format_ebml.c.
...
This should help make future changes to the code clearer.
2015-11-28 12:41:45 -05:00
Marvin Scholz
2ff8c50d3b
Makefile: Fix commons include path
2015-11-28 17:15:42 +01:00
Marvin Scholz
b54afbc6be
Correct AC_CONFIG_MACRO_DIRS to AC_CONFIG_MACRO_DIR for compatibility
2015-11-28 17:15:42 +01:00
Marvin Scholz
d16e091e25
Update submodule for more deprecated Makefile INCLUDES fixes
2015-11-28 17:15:42 +01:00
Marvin Scholz
d3c1dafa7e
Change deprecated INCLUDES variable in Makefile
2015-11-28 17:15:42 +01:00
Marvin Scholz
4cd55dc166
Add missing AC_CONFIG_MACRO_DIRS and some configure.ac cleanup
2015-11-28 17:15:42 +01:00
Marvin Scholz
d6fa6891d3
Update m4 to fix a bunch of warnings
2015-11-28 17:15:42 +01:00
Marvin Scholz
95fb449d56
Add config.h.in~ to .gitignore
2015-11-28 17:15:42 +01:00
Philipp Schafft
24bc25ec38
Cleanup: fixed some compiler warnings
2015-11-28 11:30:34 +00:00
Philipp Schafft
d51b9afc49
Cleanup: unify util.h a bit with libshout.
2015-11-28 10:51:50 +00:00
Philipp Schafft
32216013b2
Cleanup: unify util.c a bit with libshout.
2015-11-28 10:44:05 +00:00
Marvin Scholz
2608422ce4
Add Makefile.md explicitly, as it does not match GNU naming
2015-11-28 10:57:43 +01:00
Marvin Scholz
0518157700
Correct configure.in name to configure.ac
2015-11-28 10:57:02 +01:00
Philipp Schafft
85b709da04
Merge branch 'matchfile'
2015-11-23 13:01:23 +00:00
Philipp Schafft
752b2f90fe
Cleanup: mark constant loopup tables read only
2015-11-23 12:47:56 +00:00
Philipp Schafft
a650965cfd
Cleanup: make util_base64_encode() useful for binary data.
2015-11-23 12:47:47 +00:00
Philipp Schafft
de48bdd13f
Cleanup: Removed unused member host vom connection struct
2015-11-23 11:44:14 +00:00
Philipp Schafft
69cf9ad6c2
added <errno.h> as we use errno
2015-11-23 11:41:25 +00:00
Philipp Schafft
b7d0188e1d
Update: updated submodules
2015-11-22 18:52:15 +00:00
Philipp Schafft
c0e895404e
Cleanup: mark key as const (why wasn't it const already?)
2015-11-22 18:47:11 +00:00
Philipp Schafft
b55bae035d
Update: Improved matchfile API
...
This adds support for allow-deny kind of rules with the matchfile API.
See: #2119
2015-11-22 18:47:06 +00:00
Philipp Schafft
d24dda61d0
Cleanup: moved ban and allow file support into generic implementation
...
ban and allow file support has been moved into a generic implementation
that can be re-used by later code such as proxy matching or other
blacklisting.
See: #1959
2015-11-22 18:47:00 +00:00
Philipp Schafft
3653a1f812
updated submodules
2015-11-19 10:47:08 +00:00
Philipp Schafft
8e2fe8a3f7
Fix: Handle mount=NULL in config_find_mount() correctly.
2015-11-11 12:18:15 +00:00
Philipp Schafft
1653d7489a
Fix: corrected comment about <shoutcast-mount>
...
When unset no default is used but the feature is disabled.
(The Shoutcast listen socket is not opened at all.)
Thanks to Jeremiah Rogers for pointing out.
2015-09-10 14:53:44 +00:00
Marvin Scholz
ae83ea8705
Fix two mistakes in the default config's comments
2015-08-31 22:31:31 +02:00