gst/gstbuffer.c: Init _type for consistency.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 12 Jun 2006 09:23:43 +0000 (09:23 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 12 Jun 2006 09:23:43 +0000 (09:23 +0000)
commit0dc1fb9c67af86a21bc6f8a25e6dbba473448c88
treea9c4fb9b016f62905922ce5de7b2ecc721e2c75f
parent259eecdabcf419f61de6f88d84d2538d69075eca
gst/gstbuffer.c: Init _type for consistency.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
(_gst_buffer_copy), (gst_buffer_is_metadata_writable),
(gst_subbuffer_finalize), (gst_buffer_create_sub),
(gst_buffer_is_span_fast), (gst_buffer_span):
Init _type for consistency.
Use _FLAGS macro to avoid type check.
Avoid unneeded type checks in subbufer code.
ChangeLog
gst/gstbuffer.c