basesrc: Do not send eos when seeking after last buffer
authorThiago Santos <ts.santos@sisa.samsung.com>
Thu, 20 Feb 2014 00:17:27 +0000 (21:17 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Mon, 24 Feb 2014 13:37:57 +0000 (10:37 -0300)
commit2c2e55789d212e1e5a236930404af7902c475f2c
tree3d329e40769e895ef8560a0429b5f142fa2bd8e4
parentf97f70d50ae71f30f127d6c1fee023943009ea6a
basesrc: Do not send eos when seeking after last buffer

If pushing the last buffer triggers a seek from downstream, do not
go into EOS if a new segment was requested.

Contains unit test

https://bugzilla.gnome.org/show_bug.cgi?id=724757
libs/gst/base/gstbasesrc.c
tests/check/libs/basesrc.c