videodecoder: Avoid recursive drain/flush calls
authorEdward Hervey <edward@centricular.com>
Tue, 7 Jun 2016 08:31:59 +0000 (10:31 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 7 Jun 2016 08:31:59 +0000 (10:31 +0200)
commit5bef865f9fc72a8015670541a9175fcdc7e51fc2
treed4753a43dc4faa99f130b7f33b76f5420c158e83
parent183e94b2d3ee830f196d45756563f4572c9954f7
videodecoder: Avoid recursive drain/flush calls

_chain_forward() can also be called with reverse playback. Blindly
calling drain_out() on DISCONT buffers would end up in a recursive
call.
gst-libs/gst/video/gstvideodecoder.c