diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-10 14:31:02 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-10 14:39:52 +0200 |
commit | a9f697375b2762e6db5b76f7c64089a9b9c32296 (patch) | |
tree | d3e840b50c5468a63bc55491f5b099ac7e4ce001 | |
parent | 0ebfa38456fcb227bde08963fc0349e38964d02d (diff) |
gst: adjust comment style
-rw-r--r-- | gst/flv/amfdefs.h | 4 | ||||
-rw-r--r-- | gst/flv/gstflvdemux.c | 16 | ||||
-rw-r--r-- | gst/rtp/gstrtpqdmdepay.c | 4 | ||||
-rw-r--r-- | gst/rtp/gstrtpsv3vdepay.c | 4 |
4 files changed, 14 insertions, 14 deletions
diff --git a/gst/flv/amfdefs.h b/gst/flv/amfdefs.h index 6c14f3f71..00d0c1ae0 100644 --- a/gst/flv/amfdefs.h +++ b/gst/flv/amfdefs.h @@ -27,7 +27,7 @@ #define AMF0_BOOLEAN_MARKER 0x1 #define AMF0_STRING_MARKER 0x2 #define AMF0_OBJECT_MARKER 0x3 -#define AMF0_MOVIECLIP_MARKER 0x4 // Reserved, not supported +#define AMF0_MOVIECLIP_MARKER 0x4 /* Reserved, not supported */ #define AMF0_NULL_MARKER 0x5 #define AMF0_UNDEFINED_MARKER 0x6 #define AMF0_REFERENCE_MARKER 0x7 @@ -37,7 +37,7 @@ #define AMF0_DATE_MARKER 0xB #define AMF0_LONG_STRING_MARKER 0xC #define AMF0_UNSUPPORTED_MARKER 0xD -#define AMF0_RECORDSET_MARKER 0xE // Reserved, not supported +#define AMF0_RECORDSET_MARKER 0xE /* Reserved, not supported */ #define AMF0_XML_DOCUMENT_MARKER 0xF #define AMF0_TYPED_OBJECT_MARKER 0x10 diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index c1d62776e..203cb763a 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -321,7 +321,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, GST_DEBUG_OBJECT (demux, "tag name %s, tag type %d", tag_name, tag_type); switch (tag_type) { - case 0: // Double + case 0: /* Double */ { /* Use a union to read the uint64 and then as a double */ gdouble d = 0; @@ -353,7 +353,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 1: // Boolean + case 1: /* Boolean */ { guint8 b = 0; @@ -366,7 +366,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 2: // String + case 2: /* String */ { gchar *s = NULL; @@ -404,7 +404,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 3: // Object + case 3: /* Object */ { gboolean end_of_object_marker = FALSE; @@ -420,7 +420,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 8: // ECMA array + case 8: /* ECMA array */ { guint32 nb_elems = 0; gboolean end_of_object_marker = FALSE; @@ -443,7 +443,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 9: // End marker + case 9: /* End marker */ { GST_DEBUG_OBJECT (demux, "end marker ?"); if (tag_name[0] == '\0') { @@ -455,7 +455,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 10: // Array + case 10: /* Array */ { guint32 nb_elems = 0; @@ -508,7 +508,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, break; } - case 11: // Date + case 11: /* Date */ { gdouble d = 0; gint16 i = 0; diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c index 01397098a..2100b8956 100644 --- a/gst/rtp/gstrtpqdmdepay.c +++ b/gst/rtp/gstrtpqdmdepay.c @@ -121,7 +121,7 @@ gst_rtp_qdm2_depay_finalize (GObject * object) G_OBJECT_CLASS (parent_class)->finalize (object); } -// only on the sink +/* only on the sink */ gboolean gst_rtp_qdm2_depay_setcaps (GstBaseRTPDepayload * filter, GstCaps * caps) { @@ -129,7 +129,7 @@ gst_rtp_qdm2_depay_setcaps (GstBaseRTPDepayload * filter, GstCaps * caps) gint clock_rate; if (!gst_structure_get_int (structure, "clock-rate", &clock_rate)) - clock_rate = 44100; // default + clock_rate = 44100; /* default */ filter->clock_rate = clock_rate; /* will set caps later */ diff --git a/gst/rtp/gstrtpsv3vdepay.c b/gst/rtp/gstrtpsv3vdepay.c index b29fe021d..5b52fc2e2 100644 --- a/gst/rtp/gstrtpsv3vdepay.c +++ b/gst/rtp/gstrtpsv3vdepay.c @@ -116,7 +116,7 @@ gst_rtp_sv3v_depay_finalize (GObject * object) G_OBJECT_CLASS (parent_class)->finalize (object); } -// only on the sink +/* only on the sink */ gboolean gst_rtp_sv3v_depay_setcaps (GstBaseRTPDepayload * filter, GstCaps * caps) { @@ -124,7 +124,7 @@ gst_rtp_sv3v_depay_setcaps (GstBaseRTPDepayload * filter, GstCaps * caps) gint clock_rate; if (!gst_structure_get_int (structure, "clock-rate", &clock_rate)) - clock_rate = 90000; // default + clock_rate = 90000; /* default */ filter->clock_rate = clock_rate; /* will set caps later */ |