rtprtxsend: ensure that no rtx buffers are sent after EOS
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 21 Jan 2014 12:42:38 +0000 (13:42 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 21 Jan 2014 14:00:37 +0000 (15:00 +0100)
commit1a300eb50967e88ad73ffeeb44a84e268d4705b8
tree13eed20e14c242e8c5281c787486dd132432e264
parent133913a11ae35656797a7101ad0e01d484bea46b
rtprtxsend: ensure that no rtx buffers are sent after EOS

To do that, enqueue the EOS event to be sent from the srcpad task
thread and flush the queue right afterwards, so that no more rtx
buffers can be sent, even if there are more requests coming in.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=722370
gst/rtpmanager/gstrtprtxsend.c