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:
4f4ba59
)
shmpipe: Don't dec old shm area when new one is added
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Thu, 28 Jan 2010 09:30:11 +0000
(11:30 +0200)
committer
Olivier Crête
<olivier.crete@collabora.co.uk>
Thu, 3 Jun 2010 19:27:41 +0000
(15:27 -0400)
Its ref will be dropped when the "close" message arrives
gst/shm/shmpipe.c
patch
|
blob
|
history
diff --git
a/gst/shm/shmpipe.c
b/gst/shm/shmpipe.c
index
6fa2ce5
..
41aec24
100644
(file)
--- a/
gst/shm/shmpipe.c
+++ b/
gst/shm/shmpipe.c
@@
-577,8
+577,10
@@
sp_client_recv (ShmPipe * self, char **buf)
oldarea = self->shm_area;
newarea->next = self->shm_area;
self->shm_area = newarea;
+ /*
if (oldarea)
sp_shm_area_dec (self, oldarea);
+ */
break;
case COMMAND_CLOSE_SHM_AREA: