mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
rtpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack
Fixes build of -good.
This commit is contained in:
parent
b950b930ae
commit
54c5cd8c3f
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ struct _GstRTPBuffer
|
||||||
gsize maxsize;
|
gsize maxsize;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define GST_RTP_BUFFER_INIT {NULL,0,NULL,0,0}
|
||||||
|
|
||||||
/* creating buffers */
|
/* creating buffers */
|
||||||
void gst_rtp_buffer_allocate_data (GstBuffer *buffer, guint payload_len,
|
void gst_rtp_buffer_allocate_data (GstBuffer *buffer, guint payload_len,
|
||||||
guint8 pad_len, guint8 csrc_count);
|
guint8 pad_len, guint8 csrc_count);
|
||||||
|
|
Loading…
Reference in a new issue