omxvideoenc: pause component when flushing
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Aug 2018 11:10:35 +0000 (13:10 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Aug 2018 13:52:14 +0000 (15:52 +0200)
commit626a481e01da499e333801f18911ae6ed763a15f
treebae6c90e2bd173ebb29590d7385def7e3b06add9
parenta8638938427b819252a3efa0fc30be3f522eead3
omxvideoenc: pause component when flushing

As stated in the spec ("6.1.3 Seek Event Sequence") we should pause
before flushing.
We were pausing the decoder but not the encoder so I just aligned the
two code paths.

https://bugzilla.gnome.org/show_bug.cgi?id=797038
omx/gstomxvideoenc.c