videodecoder: Use input segment rate instead of output segment rate to decide whether...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jun 2016 16:02:49 +0000 (19:02 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jun 2016 16:02:49 +0000 (19:02 +0300)
commit0bd3f2352c532faf152be1b6d2ac289cb6fb0d40
treece6096d339fa1837fb10e1b2f4b0823a10eac362
parent0c7022d6812a5a54df6c2b81fb0a07e579c78119
videodecoder: Use input segment rate instead of output segment rate to decide whether the drain on keyframes

The output segment is only set up after data is output, which might be far in
the future for reverse playback. Also we are here interested in the state at
the current *input* frame (which is the keyframe), not any possible output.
gst-libs/gst/video/gstvideodecoder.c