Kill the quick hack that changed timing for the first fec goup.
authorAndre Noll <maan@systemlinux.org>
Mon, 31 Aug 2009 19:26:54 +0000 (21:26 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 31 Aug 2009 19:26:54 +0000 (21:26 +0200)
This did never really work.

vss.c

diff --git a/vss.c b/vss.c
index 6304fc5..ccdd1f7 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -336,8 +336,6 @@ static int setup_next_fec_group(struct fec_client *fc, struct vss_task *vsst)
        /* setup group timing */
        tv_scale(g->first_chunk - fc->first_stream_chunk, chunk_tv, &tmp);
        tv_add(&fc->stream_start, &tmp, &g->start);
-       if (g->num) /* quick hack to avoid buffer underruns */
-               g->start.tv_sec--;
        tv_scale(g->num_chunks, chunk_tv, &tmp); /* group duration */
        tv_divide(fc->fcp->slices_per_group + fc->num_extra_slices,
                &tmp, &g->slice_duration);