projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f332b70
)
memory: don't follow the parent in the fallback share
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Apr 2011 17:19:55 +0000
(19:19 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Apr 2011 17:19:55 +0000
(19:19 +0200)
gst/gstmemory.c
patch
|
blob
|
history
diff --git
a/gst/gstmemory.c
b/gst/gstmemory.c
index
cc477f5
..
bdbd5e4
100644
(file)
--- a/
gst/gstmemory.c
+++ b/
gst/gstmemory.c
@@
-287,12
+287,8
@@
static GstMemory *
_fallback_share (GstMemory * mem, gsize offset, gsize size)
{
GstMemoryDefault *sub;
- GstMemory *parent;
-
- /* find the real parent */
- parent = mem->parent ? mem->parent : mem;
- sub = _default_mem_new (0,
parent
, NULL, NULL, size, offset, size);
+ sub = _default_mem_new (0,
mem
, NULL, NULL, size, offset, size);
return (GstMemory *) sub;
}