adaptivedemux: correctly track segment.position in reverse playback
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 5 Jan 2016 12:01:10 +0000 (09:01 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 6 Jan 2016 13:23:13 +0000 (10:23 -0300)
commitbf272edaf34d93296fc28ef330cb7ff3b1859b4c
tree1cd01dfd958bbce1db7a1aae15f616bd802ee74a
parent5d87f68f6ccbb7675c542dbd58fda4050e9ee43b
adaptivedemux: correctly track segment.position in reverse playback

For reverse, set position to segment.stop when starting and also
don't set the position to fragment end timestamp when it finishes,
just leave it at the fragment start.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c