queue2: Allow re-usability after EOS
authorEdward Hervey <edward@centricular.com>
Wed, 9 Aug 2017 14:15:23 +0000 (16:15 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 9 Aug 2017 14:18:40 +0000 (16:18 +0200)
commit6566eff20d250c6253af8dfc9b603c8d0850e257
treef8e266353de7150f7c06c853dbb23e7bd2fc2dc7
parente2f8dc0aeff50de64e568831966b4df831d1fa1c
queue2: Allow re-usability after EOS

After EOS, it is possible for a pad to be resetted by sending
either a STREAM_START or SEGMENT event

Mimic the same behaviour when receiving STREAM_START/SEGMENT events
in queue2 if we are EOS'd

https://bugzilla.gnome.org/show_bug.cgi?id=786056
plugins/elements/gstqueue2.c