Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rmax
icecast
icecast-norebuildstream.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icecast-norebuildstream.patch of Package icecast
--- src/format_mjpeg.c +++ src/format_mjpeg.c @@ -83,14 +83,18 @@ /* read an mp3 stream which does not have shoutcast style metadata */ static refbuf_t *mjpeg_get (source_t *source) { -#define REFBUF_SIZE 1400 +#define REFBUF_SIZE 1500 refbuf_t *refbuf = refbuf_new (REFBUF_SIZE); refbuf->len = client_read_bytes (source->client, refbuf->data, REFBUF_SIZE); if (refbuf->len <= 0) { refbuf_release(refbuf); return NULL; } - refbuf->sync_point = 1; +#define BOUNDARY "--myboundary" + if (!strncmp(BOUNDARY, refbuf->data, strlen(BOUNDARY))) { + refbuf->sync_point = 1; + } +#undef BOUNDARY return refbuf; } --- src/format_vorbis.c +++ src/format_vorbis.c @@ -548,7 +548,7 @@ codec->headers++; } DEBUG0 ("we have the header packets now"); - +#if 0 /* if vorbis is the only codec then allow rebuilding of the streams */ if (ogg_info->codecs->next == NULL) { @@ -559,10 +559,13 @@ } else { +#endif format_ogg_attach_header (ogg_info, &source_vorbis->bos_page); format_ogg_attach_header (ogg_info, page); codec->process_page = process_vorbis_passthru_page; +#if 0 } +#endif free (ogg_info->title); comment = vorbis_comment_query (&source_vorbis->vc, "TITLE", 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor