mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst/gstbuffer.h: Add an explicit cast to GstBuffer** to keep old code that added an explicit cast to GstMiniObject** ...
Original commit message from CVS: * gst/gstbuffer.h: Add an explicit cast to GstBuffer** to keep old code that added an explicit cast to GstMiniObject** for gst_mini_object_replace() compiling without warning.
This commit is contained in:
parent
d3da3ed47b
commit
5e4699885a
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstbuffer.h:
|
||||
Add an explicit cast to GstBuffer** to keep old code that added an
|
||||
explicit cast to GstMiniObject** for gst_mini_object_replace()
|
||||
compiling without warning.
|
||||
|
||||
2006-10-18 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
|
||||
|
|
|
@ -378,7 +378,7 @@ GstBuffer* gst_buffer_make_metadata_writable (GstBuffer *buf);
|
|||
*/
|
||||
#define gst_buffer_replace(obuf,nbuf) \
|
||||
G_STMT_START { \
|
||||
GstBuffer **___obufaddr = (obuf); \
|
||||
GstBuffer **___obufaddr = (GstBuffer **)(obuf); \
|
||||
gst_mini_object_replace ((GstMiniObject **)___obufaddr, \
|
||||
GST_MINI_OBJECT_CAST (nbuf)); \
|
||||
} G_STMT_END
|
||||
|
|
Loading…
Reference in a new issue