mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
shmpipe: Don't dec old shm area when new one is added
Its ref will be dropped when the "close" message arrives
This commit is contained in:
parent
4f4ba5981b
commit
68c9ed6e5c
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue