Add comments.
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Jan 2009 18:43:47 +0000 (19:43 +0100)
committerWim Taymans <wim@wtay.(none)>
Tue, 20 Jan 2009 18:43:47 +0000 (19:43 +0100)
Remove unused field

gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-media.h

index c021734..13425d0 100644 (file)
@@ -110,9 +110,6 @@ caps_notify (GstPad * pad, GParamSpec * unused, GstRTSPMediaStream * stream)
 }
 
 /**
- *
- * STREAMING CONFIGURATION
- *
  * gst_rtsp_media_prepare:
  * @media: a #GstRTSPMedia
  * @bin: the parent bin to create the elements in.
index bf4bede..f96ab1f 100644 (file)
@@ -38,11 +38,22 @@ typedef struct _GstRTSPMedia GstRTSPMedia;
 typedef struct _GstRTSPMediaStream GstRTSPMediaStream;
 typedef struct _GstRTSPMediaClass GstRTSPMediaClass;
 
+/**
+ * GstRTSPMediaStream:
+ *
+ * @idx: the stream index
+ * @element: the toplevel element
+ * @srcpad: the srcpad of the stream
+ * @payloader: the payloader of the formattt
+ * @caps_sig: the signal id for detecting caps
+ * @caps: the caps of the stream
+ *
+ * The definition of a media stream. The streams are identified by @id.
+ */
 struct _GstRTSPMediaStream {
   GstRTSPMedia *media;
 
   guint       idx;
-  gchar      *name;
 
   GstElement *element;
   GstPad     *srcpad;
@@ -51,6 +62,12 @@ struct _GstRTSPMediaStream {
   GstCaps    *caps;
 };
 
+/**
+ * GstRTSPMedia:
+ *
+ * The definition and logic for constructing the pipeline for a media. The media
+ * can contain multiple streams like audio and video.
+ */
 struct _GstRTSPMedia {
   GObject       parent;