asfdemux: fix bogus flow return handling in eos handler
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 29 May 2009 19:07:14 +0000 (20:07 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 30 May 2009 12:08:15 +0000 (13:08 +0100)
commit7c40c992388d8eaca9a8999dd281c24ccc69c99e
treeb15a360b109e5a73c5488be99c795792c0e492c3
parentcc2d41d88f464970e4d6682693fd7a7d8874e7b5
asfdemux: fix bogus flow return handling in eos handler

Don't overwrite the origin flow return by whatever flow we get
when trying to push the remaining internally queued payloads.
We want to do our eos logic, ie. send an EOS event or segment-done
message in any case. Makes things EOS properly when an EOS event
is forced upon the pipeline so that the source returns
FLOW_UNEXPECTED to a pulling asfdemux. Should fix #582056.
gst/asfdemux/gstasfdemux.c