memory: fix is_span
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Jun 2011 14:19:46 +0000 (16:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Jun 2011 14:19:46 +0000 (16:19 +0200)
commit7c475cc60f4d953dbe52e22e06dd4a2a7fe1a989
tree6cf8164ccffb867fdadd64abfefa8fe5f380e26f
parent17ff81fc7da50860060fc78119508c403e1332c7
memory: fix is_span

Subtract the offset of the parent from is_span.
gst/gstmemory.c