matroska: Fix seeking past the end of the file in reverse mode.
authorJan Schmidt <jan@centricular.com>
Fri, 30 Jan 2015 15:30:40 +0000 (02:30 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 30 Jan 2015 19:15:44 +0000 (06:15 +1100)
commit4a77c8a84fe921d754124c87e7a8f16e4f49523c
tree8ece20bb16435721da42227973f940a1d60675f2
parent075eb10e65a84b524f8f8b72d3bdfefb0bf27588
matroska: Fix seeking past the end of the file in reverse mode.

Snap to the end of the file when seeking past the end in reverse mode,
and also fix GST_SEEK_TYPE_END and GST_SEEK_TYPE_NONE handling
for the stop position by always seeking on a segment in stream time
gst/matroska/matroska-demux.c
gst/matroska/matroska-parse.c
gst/matroska/matroska-read-common.c
gst/matroska/matroska-read-common.h