mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
pad: explicitly inline some functions
This commit is contained in:
parent
67d7c543b3
commit
2239038d76
1 changed files with 3 additions and 3 deletions
|
@ -4522,7 +4522,7 @@ not_negotiated:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPadPushCache *
|
static inline GstPadPushCache *
|
||||||
pad_take_cache (GstPad * pad, gpointer * cache_ptr)
|
pad_take_cache (GstPad * pad, gpointer * cache_ptr)
|
||||||
{
|
{
|
||||||
GstPadPushCache *cache;
|
GstPadPushCache *cache;
|
||||||
|
@ -4541,7 +4541,7 @@ pad_take_cache (GstPad * pad, gpointer * cache_ptr)
|
||||||
return cache;
|
return cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static inline void
|
||||||
pad_free_cache (GstPadPushCache * cache)
|
pad_free_cache (GstPadPushCache * cache)
|
||||||
{
|
{
|
||||||
gst_object_unref (cache->peer);
|
gst_object_unref (cache->peer);
|
||||||
|
@ -4550,7 +4550,7 @@ pad_free_cache (GstPadPushCache * cache)
|
||||||
g_slice_free (GstPadPushCache, cache);
|
g_slice_free (GstPadPushCache, cache);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static inline void
|
||||||
pad_put_cache (GstPad * pad, GstPadPushCache * cache, gpointer * cache_ptr)
|
pad_put_cache (GstPad * pad, GstPadPushCache * cache, gpointer * cache_ptr)
|
||||||
{
|
{
|
||||||
/* put it back */
|
/* put it back */
|
||||||
|
|
Loading…
Reference in a new issue