mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gst/gstbuffer.h: Added convenience macros for setting buffers in GValue.
Original commit message from CVS: * gst/gstbuffer.h: Added convenience macros for setting buffers in GValue.
This commit is contained in:
parent
02b3212e25
commit
202c113397
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-06-22 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbuffer.h:
|
||||
Added convenience macros for setting buffers in GValue.
|
||||
|
||||
2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* check/gst/.cvsignore:
|
||||
|
|
|
@ -157,6 +157,10 @@ GstBuffer* gst_buffer_create_sub (GstBuffer *parent, guint offset, guint size);
|
|||
gboolean gst_buffer_is_span_fast (GstBuffer *buf1, GstBuffer *buf2);
|
||||
GstBuffer* gst_buffer_span (GstBuffer *buf1, guint32 offset, GstBuffer *buf2, guint32 len);
|
||||
|
||||
#define gst_value_set_buffer(v,b) gst_value_set_mini_object(v, GST_MINI_OBJECT(b))
|
||||
#define gst_value_take_buffer(v,b) gst_value_take_mini_object(v, GST_MINI_OBJECT(b))
|
||||
#define gst_value_get_buffer(v) GST_BUFFER (gst_value_get_mini_object(v))
|
||||
|
||||
/* --- protected --- */
|
||||
void _gst_buffer_initialize (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue