matroska-demux: send GAP events for lagging audio and video streams too
authorTim-Philipp Müller <tim@centricular.com>
Fri, 21 Aug 2015 13:15:18 +0000 (14:15 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 Feb 2016 17:11:39 +0000 (17:11 +0000)
commit77403d0afee635f2de6c2e53a23e1f50ad0d00fa
tree806e219c6bbe0f990ecd26dad733455f74255839
parent5faa9c11a698cbff4339f5aa2ac17dc27490b207
matroska-demux: send GAP events for lagging audio and video streams too

Send GAP events for non-subtitle streams too if they lag too much
behind, but use a higher threshold than for subtitles.

This helps with fixing prerolling with a file where one of the
audio streams only has data starting from 19s onwards. It's not
a complete fix yet, it also requires changes elsewhere, such as
in baseparse, to make sure caps are propagated.

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