code style

parent db3b4d17
......@@ -45,7 +45,9 @@ static GMainLoop *loop;
/* rtpbin adds a pad once the payload is verified */
static void
pad_added_cb (GstElement *rtpbin, GstPad *srcpad, GstElement *depayloader)
pad_added_cb (GstElement *rtpbin,
GstPad *srcpad,
GstElement *depayloader)
{
GstPad *sinkpad;
/* there might still be another rtp src bin linked to the depayloader */
......@@ -61,7 +63,9 @@ pad_added_cb (GstElement *rtpbin, GstPad *srcpad, GstElement *depayloader)
}
static void
pad_removed_cb (GstElement *rtpbin, GstPad *srcpad, GstElement *depayloader)
pad_removed_cb (GstElement *rtpbin,
GstPad *srcpad,
GstElement *depayloader)
{
GstPad *sinkpad;
......@@ -76,7 +80,9 @@ pad_removed_cb (GstElement *rtpbin, GstPad *srcpad, GstElement *depayloader)
}
static gboolean
bus_cb (GstBus *bus, GstMessage *message, gpointer data)
bus_cb (GstBus *bus,
GstMessage *message,
gpointer data)
{
g_autoptr (GError) error = NULL;
g_autofree gchar *msg;
......@@ -109,7 +115,8 @@ bus_cb (GstBus *bus, GstMessage *message, gpointer data)
}
int
main (int argc, char **argv)
main (int argc,
char **argv)
{
RtpData data;
GstBus *bus_send;
......
......@@ -26,7 +26,9 @@ static GMainLoop *loop;
/* rtpbin adds a pad once the payload is verified */
static void
pad_added_cb (GstElement *rtpbin, GstPad *srcpad, GstElement *depayloader)
pad_added_cb (GstElement *rtpbin,
GstPad *srcpad,
GstElement *depayloader)
{
GstPad *sinkpad;
......@@ -40,7 +42,8 @@ pad_added_cb (GstElement *rtpbin, GstPad *srcpad, GstElement *depayloader)
}
int
main (int argc, char **argv)
main (int argc,
char **argv)
{
RtpData data;
GstBus *bus;
......
......@@ -39,7 +39,9 @@ typedef struct {
static GMainLoop *loop;
int
main (int argc, char**argv) {
main (int argc,
char**argv)
{
RtpData data;
GstBus *bus;
GstCodec *codec = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment