mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
rtp: Fix indention
This commit is contained in:
parent
b3dae8c969
commit
adf2d8459f
2 changed files with 10 additions and 13 deletions
|
@ -48,9 +48,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"audio\", "
|
"media = (string) \"audio\", "
|
||||||
"clock-rate = (int) 8000, "
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"ILBC\"")
|
||||||
"encoding-name = (string) \"ILBC\"")
|
/* "mode = (string) { \"20\", \"30\" }" */
|
||||||
/* "mode = (string) { \"20\", \"30\" }" */
|
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_ilbc_depay_src_template =
|
static GstStaticPadTemplate gst_rtp_ilbc_depay_src_template =
|
||||||
|
|
|
@ -34,29 +34,27 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"audio\", "
|
"media = (string) \"audio\", "
|
||||||
"clock-rate = (int) 16000, "
|
"clock-rate = (int) 16000, " "encoding-name = (string) \"SIREN\"")
|
||||||
"encoding-name = (string) \"SIREN\"")
|
|
||||||
/* This is the default, so the peer doesn't have to specify it */
|
/* This is the default, so the peer doesn't have to specify it */
|
||||||
/* " "dct-length = (int) 320") */
|
/* " "dct-length = (int) 320") */
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_siren_depay_src_template =
|
static GstStaticPadTemplate gst_rtp_siren_depay_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/x-siren, " "dct-length = (int) 320")
|
GST_STATIC_CAPS ("audio/x-siren, " "dct-length = (int) 320")
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstBuffer *gst_rtp_siren_depay_process (GstRTPBaseDepayload * depayload,
|
static GstBuffer *gst_rtp_siren_depay_process (GstRTPBaseDepayload *
|
||||||
GstBuffer * buf);
|
depayload, GstBuffer * buf);
|
||||||
static gboolean gst_rtp_siren_depay_setcaps (GstRTPBaseDepayload * depayload,
|
static gboolean gst_rtp_siren_depay_setcaps (GstRTPBaseDepayload *
|
||||||
GstCaps * caps);
|
depayload, GstCaps * caps);
|
||||||
|
|
||||||
G_DEFINE_TYPE (GstRTPSirenDepay, gst_rtp_siren_depay,
|
G_DEFINE_TYPE (GstRTPSirenDepay, gst_rtp_siren_depay,
|
||||||
GST_TYPE_RTP_BASE_DEPAYLOAD);
|
GST_TYPE_RTP_BASE_DEPAYLOAD);
|
||||||
|
|
||||||
static void
|
static void gst_rtp_siren_depay_class_init (GstRTPSirenDepayClass * klass)
|
||||||
gst_rtp_siren_depay_class_init (GstRTPSirenDepayClass * klass)
|
|
||||||
{
|
{
|
||||||
GstElementClass *gstelement_class;
|
GstElementClass *gstelement_class;
|
||||||
GstRTPBaseDepayloadClass *gstrtpbasedepayload_class;
|
GstRTPBaseDepayloadClass *gstrtpbasedepayload_class;
|
||||||
|
|
Loading…
Reference in a new issue