meta: add LOCKED flag
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 17 Apr 2012 13:37:27 +0000 (15:37 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 17 Apr 2012 13:55:10 +0000 (15:55 +0200)
commit6fae13702717a72f609963f5879c8ea12ab4aed4
tree741c3e8adbbf84c2a69c456df382f75f3d976923
parente076e368406ae696b38112b1332c8d3f8e648045
meta: add LOCKED flag

Add a new LOCKED flag to the metadata. Refuse removing LOCKED metadata from
a buffer.
Mark the metadata from the bufferpool LOCKED.
Add unit test for LOCKED flag
gst/gstbuffer.c
gst/gstbufferpool.c
gst/gstbufferpool.h
gst/gstmeta.h
tests/check/gst/gstmeta.c