audiobasesink: fix issue about eos handling during flushing
authoreunhae choi <eunhae1.choi@samsung.com>
Mon, 14 Sep 2015 06:25:11 +0000 (15:25 +0900)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 19 Oct 2015 15:12:12 +0000 (12:12 -0300)
commite98b96247f93e03db2c50dad9364e94f78eb8e0c
treee528882e2c56717c1164715bddb2d808848027f6
parent4d6aa0f83121c7c19561124ccff0f59faa4dca97
audiobasesink: fix issue about eos handling during flushing

If the flush-start is arrived during _eos_wait() in basesink,
the 'eos' flag is overwritten to TRUE after exiting the _eos_wait().
To resolve the overwritten issue,
the subclass doing the _eos_wait() call should return the right value.
If the eos flag is set to TRUE again, it will cause error(enter the eos flow)
of the following state changing from PAUSED to PLAYING in basesink.

https://bugzilla.gnome.org/show_bug.cgi?id=754980
gst-libs/gst/audio/gstaudiobasesink.c