tsdemux: Make sure old streams are drained before switching
authorEdward Hervey <edward@centricular.com>
Tue, 15 Sep 2015 16:20:38 +0000 (18:20 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 2 Dec 2015 13:15:04 +0000 (14:15 +0100)
commit7336294635d6066c812ca918e799a5ed21f177bb
tree67735e61a615fa94b88d2c3239367d9b607b9028
parent14e6d2d42736a66cd83b08113f4a067943443b11
tsdemux: Make sure old streams are drained before switching

Before we add any streams, make sure we drain all streams. This ensures
there's consistency that only "new" data will be pushed on buffers once
the new pads are added

https://bugzilla.gnome.org/show_bug.cgi?id=750402
gst/mpegtsdemux/tsdemux.c