]> git.tuebingen.mpg.de Git - paraslash.git/commit
vss: add state variable for fec client
authorGerrit Renker <grenker@cscs.ch>
Sun, 23 May 2010 05:43:04 +0000 (07:43 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 7 Jun 2010 21:24:52 +0000 (23:24 +0200)
commit96dd1284a1b7d565560979fdc7ec647aeceb6b52
tree105e80a21047a1a175debedd829d4910a2cb7f0e
parentf099900540c4e4c54b10181254b895ccfe6ef410
vss: add state variable for fec client

This merges the two boolean/integer members 'error' and 'ready' into a
single state variable with the same effect:
 * the specific value of 'error' was not evaluated within vss.c,
   where error < 0 used to disable the fec_client;
 * the ready/and error states are mutually exclusive;
 * the assertion that compute_next_fec_slice() is not called when
   the fec_client is disabled has been removed, since this function is only
   called from vss_send(), which ensures that this condition holds;
 * likewise, vss_playing() holds in compute_slice_timeout() since
   this condition is tested earlier in the caller vss_compute_timeout().
vss.c