queue2: when EOS we know the duration
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 9 Apr 2010 10:35:47 +0000 (12:35 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 9 Apr 2010 11:21:18 +0000 (13:21 +0200)
commitdb172aaa6fa60707716270389b675d0ef560d82e
tree3cc23de6928413c67302a4b0c4eda4a8d197fcb6
parentb5e875d20124196634e1ae9af92884430b7678c5
queue2: when EOS we know the duration

When we are EOS, we don't need to do an upstream query for the duration in bytes
because we already know it is the offset of the last written byte.
plugins/elements/gstqueue2.c