filesrc: don't try to seek to -1 offset
authorWim Taymans <wtaymans@redhat.com>
Tue, 7 Jan 2014 15:18:37 +0000 (16:18 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 7 Jan 2014 15:18:37 +0000 (16:18 +0100)
commitc80ea6895d344764150b1300d8cb78b013123009
tree64e519a86e761c267b32938aaddac574b434efdc
parent74adc33982e08dd3bf1c1a991f8519dd821df549
filesrc: don't try to seek to -1 offset

The offset can be -1 when we are configured in TIME format. Instead of
failing the seek and erroring, do what and offset of -1 is supposed to
do and simply read from the current offset.
plugins/elements/gstfilesrc.c