diff --git a/gst/gstmemory.c b/gst/gstmemory.c index c63588dd57..a8a8995d35 100644 --- a/gst/gstmemory.c +++ b/gst/gstmemory.c @@ -221,9 +221,10 @@ _default_mem_map (GstMemoryDefault * mem, gsize * size, gsize * maxsize, static gboolean _default_mem_unmap (GstMemoryDefault * mem, gpointer data, gsize size) { - GST_DEBUG ("mem: %p, data %p, size %u", mem, data, size); - GST_DEBUG ("mem: %p, data %p, offset %u, size %u, maxsize %u", mem, - mem->data, mem->offset, mem->size, mem->maxsize); + GST_DEBUG ("mem: %p, data %p, size %" G_GSIZE_FORMAT, mem, data, size); + GST_DEBUG ("mem: %p, data %p, offset %" G_GSIZE_FORMAT ", size %" + G_GSIZE_FORMAT ", maxsize %" G_GSIZE_FORMAT, mem, mem->data, mem->offset, + mem->size, mem->maxsize); g_return_val_if_fail ((guint8 *) data >= mem->data && (guint8 *) data < mem->data + mem->maxsize, FALSE); diff --git a/libs/gst/controller/gsttriggercontrolsource.c b/libs/gst/controller/gsttriggercontrolsource.c index 931ffc54a5..6633fe583e 100644 --- a/libs/gst/controller/gsttriggercontrolsource.c +++ b/libs/gst/controller/gsttriggercontrolsource.c @@ -56,7 +56,7 @@ struct _GstTriggerControlSourcePrivate /* returns the default value of the property, except for times with specific values */ /* needed for one-shot events, such as notes and triggers */ -static inline const gdouble +static inline gdouble _interpolate_trigger (GstTimedValueControlSource * self, GSequenceIter * iter, GstClockTime timestamp) {