decodebin3: do not drop the eos event
authorEunhye Choi <eunhae1.choi@samsung.com>
Wed, 23 Dec 2020 08:19:34 +0000 (17:19 +0900)
committereunhae choi <eunhae1.choi@samsung.com>
Thu, 24 Dec 2020 03:49:16 +0000 (03:49 +0000)
commit8b1576fe86327defa3744f14b4d49d8a807c065f
treef60cbea23b38b75d480b2165c7f3be0b4e044c40
parent060e50b56a32bcb120d66f16659be06c71dd4ee4
decodebin3: do not drop the eos event

- decodebin3 send eos event to downstream when it gets eos event from all tracks
  but it causes hang up if application ask changing pipeline state to PAUSED.
- eos track has no data to preroll but sink does not know whether it is eos or not
  because d3 drop the eos and it is waiting another track's eos.

Change-Id: I0787c8cf22abeb1e6e30ba56d0909381399cdbd2
(cherry picked from commit e81e47479b49ffe98c3614ad2295c56e28e0b282)
gst/playback/gstdecodebin3.c
packaging/gst-plugins-base.spec