queue2: make range on newsegment for ringbuffer
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Apr 2012 09:16:14 +0000 (11:16 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Apr 2012 10:44:30 +0000 (12:44 +0200)
commit49a4b801ac8490731afbfbc176f8bf2adb0f1954
tree0c88917117976bef5e4fe652845e448ab4168676
parent829eafad0eef9c311c29c07f7d6b211969dda4fb
queue2: make range on newsegment for ringbuffer

When using the ringbuffer, handle the newsegment event like we handle it when
using the temp-file mode: create a new range for the new byte segment. The new
segment should normally already be created when we do a seek.
plugins/elements/gstqueue2.c