From 28d6dfa51f8956a6d23a452964d610a50207c9f1 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Mon, 5 Nov 2018 17:04:14 +0100 Subject: [PATCH] rtph264pay: Clean up whitespace and syntax --- gst/rtp/gstrtph264pay.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 4f6a04a826..85ee78cc4e 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -68,13 +68,13 @@ GST_STATIC_PAD_TEMPLATE ("src", ); #define DEFAULT_SPROP_PARAMETER_SETS NULL -#define DEFAULT_CONFIG_INTERVAL 0 +#define DEFAULT_CONFIG_INTERVAL 0 enum { PROP_0, PROP_SPROP_PARAMETER_SETS, - PROP_CONFIG_INTERVAL + PROP_CONFIG_INTERVAL, }; static void gst_rtp_h264_pay_finalize (GObject * object); @@ -1091,7 +1091,7 @@ gst_rtp_h264_pay_handle_buffer (GstRTPBasePayload * basepayload, /* now loop over all NAL units and put them in a packet * FIXME, we should really try to pack multiple NAL units into one RTP packet - * if we can, especially for the config packets that wont't cause decoder + * if we can, especially for the config packets that wont't cause decoder * latency. */ if (avc) { guint nal_length_size; @@ -1177,10 +1177,10 @@ gst_rtp_h264_pay_handle_buffer (GstRTPBasePayload * basepayload, size -= 3; /* use next_start_code() to scan buffer. - * next_start_code() returns the offset in data, + * next_start_code() returns the offset in data, * starting from zero to the first byte of 0.0.0.1 - * If no start code is found, it returns the value of the - * 'size' parameter. + * If no start code is found, it returns the value of the + * 'size' parameter. * data is unchanged by the call to next_start_code() */ next = next_start_code (data, size);