mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
netsim: don't use G_INLINE_FUNC
It's deprecated. Just use 'inline'.
This commit is contained in:
parent
7c136bbb5e
commit
b541b58937
1 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ typedef struct
|
|||
GstBuffer *buf;
|
||||
} PushBufferCtx;
|
||||
|
||||
G_INLINE_FUNC PushBufferCtx *
|
||||
static inline PushBufferCtx *
|
||||
push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
|
||||
{
|
||||
PushBufferCtx *ctx = g_slice_new (PushBufferCtx);
|
||||
|
@ -220,7 +220,7 @@ push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
|
|||
return ctx;
|
||||
}
|
||||
|
||||
G_INLINE_FUNC void
|
||||
static inline void
|
||||
push_buffer_ctx_free (PushBufferCtx * ctx)
|
||||
{
|
||||
if (G_LIKELY (ctx != NULL)) {
|
||||
|
|
Loading…
Reference in a new issue