From 2239038d76f74502c6e4d3505c7f7ad906372d3a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 20 Oct 2010 17:11:11 +0200 Subject: [PATCH] pad: explicitly inline some functions --- gst/gstpad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 81a6c27e12..cb6dd9a28d 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4522,7 +4522,7 @@ not_negotiated: } } -static GstPadPushCache * +static inline GstPadPushCache * pad_take_cache (GstPad * pad, gpointer * cache_ptr) { GstPadPushCache *cache; @@ -4541,7 +4541,7 @@ pad_take_cache (GstPad * pad, gpointer * cache_ptr) return cache; } -static void +static inline void pad_free_cache (GstPadPushCache * cache) { gst_object_unref (cache->peer); @@ -4550,7 +4550,7 @@ pad_free_cache (GstPadPushCache * cache) g_slice_free (GstPadPushCache, cache); } -static void +static inline void pad_put_cache (GstPad * pad, GstPadPushCache * cache, gpointer * cache_ptr) { /* put it back */