matroskademux: make max backtrack distance for keyframe search configurable
authorTim-Philipp Müller <tim@centricular.com>
Wed, 15 Aug 2018 11:14:24 +0000 (12:14 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 27 Aug 2018 21:01:21 +0000 (23:01 +0200)
commit2d6efbbae20a2f53bed19eb76643b45ee4a8756a
treec8355919ac0efc8f110904ca879934867c6bfc35
parent2990f0730ae5428aed890d3d754b987be69aa175
matroskademux: make max backtrack distance for keyframe search configurable

Add property instead of hardcoding it in the code.

In some scenarios such as CCTV variable fps and extra long GOPs are
used to minimise storage space, for example. In those cases there might
not be any keyframes for many minutes, so provide a property to override
the max allowed distance.

https://bugzilla.gnome.org/show_bug.cgi?id=790696
gst/matroska/matroska-demux.c
gst/matroska/matroska-demux.h