concat: Reset last_stop on FLUSH_STOP too
authorSebastian Dröge <sebastian@centricular.com>
Tue, 4 Jun 2019 14:55:30 +0000 (17:55 +0300)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Wed, 5 Jun 2019 01:12:42 +0000 (01:12 +0000)
commit584c4c628228684c3ea83fc9a69b61fc18a25986
tree17c90c7b53359b76b7d595f8d197bb8b10751ba0
parent09141c6e1fc5d16bf18f67d0d62fc730c6df7512
concat: Reset last_stop on FLUSH_STOP too

Otherwise when seeking backwards we would keep the last_stop at the last
position we saw until playback passed the seek position again, and if
switching to the next pad happens in the meantime we would set the wrong
offset in the outgoing segment.
plugins/elements/gstconcat.c