videodecoder: playback rate is in input_segment
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 9 Apr 2015 17:16:10 +0000 (19:16 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jun 2016 16:05:41 +0000 (19:05 +0300)
commit779e739142dcfb5b84261af9125eb4b3df47f3f3
tree504b9519c767ba4d1b411ed200bd92306c6bbd1d
parent0bd3f2352c532faf152be1b6d2ac289cb6fb0d40
videodecoder: playback rate is in input_segment

The playback rate is hold in the input_segment member variable, not in the
output_segment, and the parse_gather list was never filled because of that.

This patch changes the comparison with input_segment.
gst-libs/gst/video/gstvideodecoder.c