fecdec: Wait until the second FEC group is complete.
authorAndre Noll <maan@systemlinux.org>
Mon, 30 Nov 2009 22:50:48 +0000 (23:50 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 30 Nov 2009 22:50:48 +0000 (23:50 +0100)
commit7b4830d1d2191f0affd0aeedb7fa08e59d3148f7
tree4e8d752f5b43b1b84a3a6751936b9ccef957f5af
parentc817e921b447f42519ce605bb80dbb85bc7e2267
fecdec: Wait until the second FEC group is complete.

Currently the fecdec filter starts writing output as soon as the first slice of the
second group arrives. This makes the logic in fecdec_filter.c quite convoluted
and does not help much to avoid buffer underruns.

Waiting for completion of the second group simplifies the code quite a bit and
adds more more buffering to the fecdec filter which should make buffer underruns
less likely.
fecdec_filter.c