shmsink: unref buffer if no clients are connected
authorAleix Conchillo Flaque <aleix@oblong.com>
Wed, 19 Jun 2013 19:52:52 +0000 (12:52 -0700)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 19 Jun 2013 22:36:19 +0000 (18:36 -0400)
commit44807dcc1a4052f460d06f3b9b29e45c12e17113
tree88f699661dd24fcf6e482ef8cb8af0eb5d636ba7
parentc0ce94dbf2f0982301edf4adb4c618e06ee3f43e
shmsink: unref buffer if no clients are connected

If no client has received the command, unref the buffer. This will
make sure that the shared memory area does not get filled with buffers
no one knows about.

https://bugzilla.gnome.org/show_bug.cgi?id=702684
sys/shm/gstshmsink.c