gst: adjust comment style

This commit is contained in:
Mark Nauwelaerts 2012-09-10 14:31:02 +02:00
parent ca36de1e8f
commit 8d93246b93
4 changed files with 14 additions and 14 deletions

View file

@ -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

View file

@ -312,7 +312,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;
@ -344,7 +344,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
break;
}
case 1: // Boolean
case 1: /* Boolean */
{
guint8 b = 0;
@ -357,7 +357,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
break;
}
case 2: // String
case 2: /* String */
{
gchar *s = NULL;
@ -395,7 +395,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
break;
}
case 3: // Object
case 3: /* Object */
{
gboolean end_of_object_marker = FALSE;
@ -411,7 +411,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;
@ -434,7 +434,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') {
@ -446,7 +446,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
break;
}
case 10: // Array
case 10: /* Array */
{
guint32 nb_elems = 0;
@ -499,7 +499,7 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
break;
}
case 11: // Date
case 11: /* Date */
{
gdouble d = 0;
gint16 i = 0;

View file

@ -115,7 +115,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 (GstRTPBaseDepayload * filter, GstCaps * caps)
{
@ -123,7 +123,7 @@ gst_rtp_qdm2_depay_setcaps (GstRTPBaseDepayload * 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 */

View file

@ -109,7 +109,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 (GstRTPBaseDepayload * filter, GstCaps * caps)
{
@ -117,7 +117,7 @@ gst_rtp_sv3v_depay_setcaps (GstRTPBaseDepayload * 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 */