adaptivedemux: stop reverse playback when we reach the limit
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 5 Jan 2016 13:39:11 +0000 (10:39 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 6 Jan 2016 13:23:13 +0000 (10:23 -0300)
commitf57109ad2e59e0494833ca213d50ba342c00cd98
tree512b81d728a3911dfda77eb6abcefc17456c47e7
parentbf57be7fc7eb94c77ff385b870a8db8c2ff65437
adaptivedemux: stop reverse playback when we reach the limit

Avoids downloading and pushing a full segment just to get 1 nanosecond
of data. This happens frequently when seeking is done with flags
that adjust to boundaries or when the start is aligned with segment
starts. The later is common when segment durations is a multiple of
a second.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c