videoencoder: Avoid force-keyframe if previously encoded keyframe can cover

For instance, if the running time of previously encoded keyframe
(pts + duration if duration was valid) is larger than requested
running time of force key unit event, avoid force-keyframe encoding
for the force key unit event.

Part-of: <gstreamer/gst-plugins-base!883>
34 jobs for !883 with venc-avoid-fku in 43 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Build Docker
passed #5110814
alpine amd64 manifest builder docker

00:00:09

passed #5110812
android docker

00:00:29

passed #5110810
cerbero fedora amd64 docker

00:00:30

passed #5110809
fedora amd64 docker

00:00:35

passed #5110815
gst-indent amd64 docker

00:00:29

 
  Preparation
passed #5110818
gst indent

00:00:08

manual #5110817
manual
manifest
 
  Build
created #5110836
gstreamer
build cerbero cross-android universal
created #5110844
gst-ios-13.2
build cerbero cross-ios universal
created #5110838
gstreamer
build cerbero cross win32
created #5110840
gstreamer
build cerbero cross win64
created #5110834
gstreamer
build cerbero fedora x86_64
created #5110842
gst-macos-10.15
build cerbero macos x86_64
created #5110845
1809 gstreamer-windows windows docker
build cerbero msvc x86_64
created #5110825
build clang fedora x86_64
created #5110831
1809 windows docker allowed to fail manual
build msys2
created #5110820
build nodebug fedora x86_64
created #5110821
build static fedora x86_64
created #5110823
build static nodebug fedora x86_64
created #5110826
1809 windows docker
build vs2017 amd64
created #5110829
1809 windows docker
build vs2017 x86
 
  Test
created #5110846
gstreamer
check fedora
created #5110847
gstreamer
integration testsuites fedora 1/4
created #5110848
gstreamer
integration testsuites fedora 2/4
created #5110849
gstreamer
integration testsuites fedora 3/4
created #5110850
gstreamer
integration testsuites fedora 4/4
created #5110854
gstreamer
valgrind bad
created #5110851
gstreamer
valgrind base
created #5110855
gstreamer
valgrind ges
created #5110852
gstreamer
valgrind good
created #5110853
gstreamer
valgrind ugly
 
  Integrate
created #5110856
cross-android universal examples
created #5110858
gst-ios-13.2
cross-ios universal examples
created #5110857
documentation