mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Add comments.
Remove unused field
This commit is contained in:
parent
a3522af4f8
commit
852cc3973c
2 changed files with 18 additions and 4 deletions
|
@ -110,9 +110,6 @@ caps_notify (GstPad * pad, GParamSpec * unused, GstRTSPMediaStream * stream)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* STREAMING CONFIGURATION
|
|
||||||
*
|
|
||||||
* gst_rtsp_media_prepare:
|
* gst_rtsp_media_prepare:
|
||||||
* @media: a #GstRTSPMedia
|
* @media: a #GstRTSPMedia
|
||||||
* @bin: the parent bin to create the elements in.
|
* @bin: the parent bin to create the elements in.
|
||||||
|
|
|
@ -38,11 +38,22 @@ typedef struct _GstRTSPMedia GstRTSPMedia;
|
||||||
typedef struct _GstRTSPMediaStream GstRTSPMediaStream;
|
typedef struct _GstRTSPMediaStream GstRTSPMediaStream;
|
||||||
typedef struct _GstRTSPMediaClass GstRTSPMediaClass;
|
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 {
|
struct _GstRTSPMediaStream {
|
||||||
GstRTSPMedia *media;
|
GstRTSPMedia *media;
|
||||||
|
|
||||||
guint idx;
|
guint idx;
|
||||||
gchar *name;
|
|
||||||
|
|
||||||
GstElement *element;
|
GstElement *element;
|
||||||
GstPad *srcpad;
|
GstPad *srcpad;
|
||||||
|
@ -51,6 +62,12 @@ struct _GstRTSPMediaStream {
|
||||||
GstCaps *caps;
|
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 {
|
struct _GstRTSPMedia {
|
||||||
GObject parent;
|
GObject parent;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue