tsdemux: reset the state of the stream when flushing
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 30 Apr 2012 10:28:42 +0000 (12:28 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 1 May 2012 09:47:52 +0000 (11:47 +0200)
commitb56ab4b3cfc0aaa5168171caed2558cda8024b09
tree86c93b15d5aef107bf3f6ff1cf7bb72f38461ea8
parenteaf4d97815832891bfd84879b4f8f9b802f6c44d
tsdemux: reset the state of the stream when flushing

We need to reset the stream on a flush or else old packets could be added to the
list and leak.
gst/mpegtsdemux/tsdemux.c