deinterlace: Avoid infinite loop draining frames
authorJan Schmidt <thaytan@noraisin.net>
Sat, 11 Dec 2010 14:39:06 +0000 (01:39 +1100)
committerJan Schmidt <jan.schmidt@oracle.com>
Sat, 11 Dec 2010 23:15:13 +0000 (10:15 +1100)
commit9941d3f0a260317e4f555d538b6b0f04296a1be1
treeae556b74934924dd0f670ecceaedbd5fe5b5861e
parentaddbc3c4ca29a6869fe21ea5b1228a496ac0f26a
deinterlace: Avoid infinite loop draining frames

When the pipeline is flushed just as we're draining history,
don't loop infinitely, just discard the history and abort.
gst/deinterlace/gstdeinterlace.c