]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Merge branch 't/dccp_fec'
authorAndre Noll <maan@systemlinux.org>
Wed, 23 Jun 2010 18:55:08 +0000 (20:55 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 23 Jun 2010 18:55:08 +0000 (20:55 +0200)
Makefile.in
NEWS
configure.ac
ggo/oggdec_filter.ggo [deleted file]
oggdec_filter.c
vss.c
web/index.in.html

index 34992de8514fdce7e4c02f83d9b1e478025d091d..d46da62a9e1792790e3b1ad8bd84f5faa787da98 100644 (file)
@@ -69,7 +69,7 @@ object_dir := objects
 man_dir := man/man1
 
 m4_ggos := afh audioc audiod client filter gui recv server write
-all_ggos := $(m4_ggos) dccp_recv oggdec_filter alsa_write oss_write fade http_recv \
+all_ggos := $(m4_ggos) dccp_recv alsa_write oss_write fade http_recv \
        osx_write udp_recv amp_filter compress_filter file_write \
        mp3dec_filter prebuffer_filter
 ggo_generated := $(addsuffix .ggo, $(addprefix $(ggo_dir)/,$(m4_ggos)))
diff --git a/NEWS b/NEWS
index c17a543bb249024ebd55aa1abf4876a324ee5e0a..0746fc2216f5c5cb2d1a8b6b799322da6839e547 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,3 @@
-NEWS
-====
-
 ---------------------------------------------
 0.4.3 (to be announced) "imaginary radiation"
 ---------------------------------------------
@@ -8,6 +5,7 @@ NEWS
        - Fix an end-of-file detection bug in the oggdec filter.
        - New user manual
        - The new nonblock API
+       - Both options of the oggdec filter have been removed.
 
 ------------------------------------------
 0.4.2 (2010-04-23) "associative expansion"
index 80eaf095372b8bcd1663254b380e5203085bf53c..d8f55ce26c5967cf16075323283db93cae7da98c 100644 (file)
@@ -456,9 +456,6 @@ if test "$have_ogg" = "yes"; then
        audiod_ldflags="$audiod_ldflags $oggvorbis_libs -lvorbis -lvorbisfile"
        afh_ldflags="$afh_ldflags $oggvorbis_libs -logg -lvorbis -lvorbisfile"
 
-       filter_cmdline_objs="$filter_cmdline_objs add_cmdline(oggdec_filter)"
-       audiod_cmdline_objs="$audiod_cmdline_objs add_cmdline(oggdec_filter)"
-
        server_errlist_objs="$server_errlist_objs ogg_afh"
        filter_errlist_objs="$filter_errlist_objs oggdec_filter"
        audiod_errlist_objs="$audiod_errlist_objs oggdec_filter"
diff --git a/ggo/oggdec_filter.ggo b/ggo/oggdec_filter.ggo
deleted file mode 100644 (file)
index e2d653d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-option "bufsize" b
-#~~~~~~~~~~~~~~~~~
-"size of output buffer"
-int typestr="kilobyte"
-default="128"
-optional
-details="
-       Increase this if you encounter output buffer overrun errors. Smaller
-       values make the oggdec filter use less memory.
-"
-
-option "initial_buffer" i
-#~~~~~~~~~~~~~~~~~~~~~~~~
-"size of initial input buffer"
-int typestr="kilobyte"
-default="16"
-optional
-details="
-       On startup, defer decoding until that many kilobytes are
-       available in the input buffer.
-"
index 2f1fb787814742ed4d503612b0728d5d8158aaa4..b07d39130bb2dcc8026ffe93cd9e0d5e2ccbf2d0 100644 (file)
@@ -11,7 +11,6 @@
 #include <stdbool.h>
 
 #include "para.h"
-#include "oggdec_filter.cmdline.h"
 #include "list.h"
 #include "sched.h"
 #include "ggo.h"
@@ -237,36 +236,6 @@ out:
        }
 }
 
-static int oggdec_parse_config(int argc, char **argv, void **config)
-{
-       int ret;
-       struct oggdec_filter_args_info *ogg_conf;
-
-       ogg_conf = para_calloc(sizeof(*ogg_conf));
-       ret = -E_OGGDEC_SYNTAX;
-       if (oggdec_cmdline_parser(argc, argv, ogg_conf))
-               goto err;
-       ret = -ERRNO_TO_PARA_ERROR(EINVAL);
-       if (ogg_conf->bufsize_arg < 0)
-               goto err;
-       if (ogg_conf->bufsize_arg >= INT_MAX / 1024)
-               goto err;
-       if (ogg_conf->initial_buffer_arg < 0)
-               goto err;
-       if (ogg_conf->initial_buffer_arg >= INT_MAX / 1024)
-               goto err;
-       *config = ogg_conf;
-       return 1;
-err:
-       free(ogg_conf);
-       return ret;
-}
-
-static void oggdec_free_config(void *conf)
-{
-       oggdec_cmdline_parser_free(conf);
-}
-
 /**
  * The init function of the ogg vorbis decoder.
  *
@@ -274,18 +243,9 @@ static void oggdec_free_config(void *conf)
  */
 void oggdec_filter_init(struct filter *f)
 {
-       struct oggdec_filter_args_info dummy;
-
-       oggdec_cmdline_parser_init(&dummy);
        f->open = ogg_open;
        f->close = ogg_close;
        f->pre_select = generic_filter_pre_select;
        f->post_select = ogg_post_select;
-       f->parse_config = oggdec_parse_config;
-       f->free_config = oggdec_free_config;
        f->execute = oggdec_execute;
-       f->help = (struct ggo_help) {
-               .short_help = oggdec_filter_args_info_help,
-               .detailed_help = oggdec_filter_args_info_detailed_help
-       };
 }
diff --git a/vss.c b/vss.c
index e725eebdc94cdbe21a7d4ab3158c4ab89b311235..adc0cb63cea1204d3bfef811c492b807b74001c2 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -954,8 +954,12 @@ static void vss_post_select(struct sched *s, struct task *t)
                int num = mmd->sender_cmd_data.cmd_num,
                        sender_num = mmd->sender_cmd_data.sender_num;
 
-               if (senders[sender_num].client_cmds[num])
-                       senders[sender_num].client_cmds[num](&mmd->sender_cmd_data);
+               if (senders[sender_num].client_cmds[num]) {
+                       ret = senders[sender_num].client_cmds[num]
+                               (&mmd->sender_cmd_data);
+                       if (ret < 0)
+                               PARA_ERROR_LOG("%s\n", para_strerror(-ret));
+               }
                mmd->sender_cmd_data.cmd_num = -1;
        }
        if (vsst->afsss != AFS_SOCKET_CHECK_FOR_WRITE)
index 5a5f4aff4df5baf879ea4d8651cda1185d5c8f63..fa67f2e9c2f31ebc70c903df37681d0db3662773 100644 (file)
@@ -1,6 +1,7 @@
 <h1>Events</h1>
 <hr>
 <ul>
+       <li>2010-06-23: <a href="cooking.html">What's cooking page</a> online</li>
        <li>2010-04-23: <a href="versions/paraslash-0.4.2.tar.bz2">paraslash-0.4.2</a>
                <a href="versions/paraslash-0.4.2.tar.bz2.asc">(sig)</a>
                "associative expansion"