diff options
author | Justin Joy <justin.joy.9to5@gmail.com> | 2015-07-09 00:12:51 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-07-08 17:07:49 +0100 |
commit | 6c93236462b39ce8bf56d15cf0cdc761c104abcf (patch) | |
tree | cf6f042650769c4a1b59c78586c7a605c778c0ef | |
parent | af62e2874fb2d84b91a6f5510a4ca5a8a0e72139 (diff) |
docs: add StreamidDemux to documentation
https://bugzilla.gnome.org/show_bug.cgi?id=749873
-rw-r--r-- | plugins/elements/gststreamiddemux.c | 16 | ||||
-rw-r--r-- | plugins/elements/gststreamiddemux.h | 5 |
2 files changed, 18 insertions, 3 deletions
diff --git a/plugins/elements/gststreamiddemux.c b/plugins/elements/gststreamiddemux.c index c9d99f140..4ea2f8054 100644 --- a/plugins/elements/gststreamiddemux.c +++ b/plugins/elements/gststreamiddemux.c @@ -23,10 +23,20 @@ */ /** - * SECTION:element-streamid-demux - * @see_also: #GstFunnel + * SECTION:element-streamiddemux * - * Direct input stream to one out of N output pads by stream-id. + * The basic concept was started from de-funneling element which restores one + * serialized stream via #GstFunnel to its original state. #GstStreamidDemux + * classifies each stream base on stream ids. + * + * The stream id demux always takes one input and checks how many streams + * are contained in a stream by STREAM_START event. Likewise #GstFunnel, + * #GstStreamidDemux does not synchronize the different output streams. + * + * #GstStreamidDemux:active-pad provides information about which output pad + * is activated at the moment. + * + * @see_also: #GstFunnel, #gst_event_new_stream_start */ #ifdef HAVE_CONFIG_H diff --git a/plugins/elements/gststreamiddemux.h b/plugins/elements/gststreamiddemux.h index ec5383b2c..e8b74a906 100644 --- a/plugins/elements/gststreamiddemux.h +++ b/plugins/elements/gststreamiddemux.h @@ -42,6 +42,11 @@ G_BEGIN_DECLS typedef struct _GstStreamidDemux GstStreamidDemux; typedef struct _GstStreamidDemuxClass GstStreamidDemuxClass; +/** + * GstStreamidDemux: + * + * The opaque #GstStreamidDemux data structure. + */ struct _GstStreamidDemux { GstElement element; |