qtdemux: make seeking in push mode work
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 18 Dec 2009 12:54:46 +0000 (13:54 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 5 Jan 2010 14:51:43 +0000 (15:51 +0100)
commit86021857c5450aeb65cf817434cb9a76c58cca6d
tree04becd1ab820d49d13beb94c16092ebcdadf94d5
parent3b643817be2a1a58660d470e86935cee66149b81
qtdemux: make seeking in push mode work

Move sample position checks into qtdemux_parse_samples where we can protect it
with a lock.
Refactor and make an qtdemux_ensure_index function.
Rename qtdemux_do_push_seek to qtdemux_seek_offset in order to avoid confusion
with gst_qtdemux_do_push_seek.
gst/qtdemux/qtdemux.c