memory: Fix the NO_SHARE flag in the constructor
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Jul 2012 11:47:49 +0000 (13:47 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 5 Jul 2012 09:19:16 +0000 (11:19 +0200)
commit9a20741b0afe77b41b9d538e2600215ddc5ad44f
treeb16223632ba533cf57b93774648f11a6d76c7e10
parent4a0dd59808dbad6e91fee652b9285c61fdb578b0
memory: Fix the NO_SHARE flag in the constructor

The NO_SHARE flag does not influence the exclusiveness of the buffer initially
but only if a _share operation can be done. Otherwise, we would not be able to
WRITE map a buffer memory because it would have a share count of at least 2.
gst/gstmemory.c