diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-02-10 17:02:24 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:50:35 +0100 |
commit | 00a155333c5e3b9832b82b47f11ce7574580537b (patch) | |
tree | 2230dcd60c83b454486e92412bd9d3edb0f6f712 | |
parent | ad4d98d70cb865c47484efbae8070f71d1e767f2 (diff) | |
download | gst-plugins-bad-00a155333c5e3b9832b82b47f11ce7574580537b.tar.gz gst-plugins-bad-00a155333c5e3b9832b82b47f11ce7574580537b.tar.bz2 gst-plugins-bad-00a155333c5e3b9832b82b47f11ce7574580537b.zip |
Moved rtpmux from gst-p-farsight to -bad
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | docs/plugins/Makefile.am | 2 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-bad-plugins-docs.sgml | 3 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-bad-plugins-sections.txt | 30 | ||||
-rw-r--r-- | docs/plugins/inspect/plugin-dtmf.xml | 8 | ||||
-rw-r--r-- | docs/plugins/inspect/plugin-rtpmux.xml | 55 | ||||
-rw-r--r-- | gst/rtpmux/Makefile.am | 10 | ||||
-rw-r--r-- | gst/rtpmux/gstrtpdtmfmux.c | 14 | ||||
-rw-r--r-- | gst/rtpmux/gstrtpmuxer.c | 4 |
9 files changed, 109 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac index 03c76e00..34db3428 100644 --- a/configure.ac +++ b/configure.ac @@ -267,6 +267,7 @@ AG_GST_CHECK_PLUGIN(qtmux) AG_GST_CHECK_PLUGIN(rawparse) AG_GST_CHECK_PLUGIN(real) AG_GST_CHECK_PLUGIN(rtpmanager) +AG_GST_CHECK_PLUGIN(rtpmux) AG_GST_CHECK_PLUGIN(scaletempo) AG_GST_CHECK_PLUGIN(sdp) AG_GST_CHECK_PLUGIN(selector) @@ -1443,6 +1444,7 @@ gst/pcapparse/Makefile gst/qtmux/Makefile gst/rawparse/Makefile gst/rtpmanager/Makefile +gst/rtpmux/Makefile gst/scaletempo/Makefile gst/sdp/Makefile gst/selector/Makefile diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index e29416a2..da2d04a6 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -134,6 +134,8 @@ EXTRA_HFILES = \ $(top_srcdir)/gst/rtpmanager/gstrtpptdemux.h \ $(top_srcdir)/gst/rtpmanager/gstrtpsession.h \ $(top_srcdir)/gst/rtpmanager/gstrtpssrcdemux.h \ + $(top_srcdir)/gst/rtpmux/gstrtpmux.h \ + $(top_srcdir)/gst/rtpmux/gstrtpdtmfmux.h \ $(top_srcdir)/gst/scaletempo/gstscaletempo.h \ $(top_srcdir)/gst/sdp/gstsdpdemux.h \ $(top_srcdir)/gst/selector/gstinputselector.h \ diff --git a/docs/plugins/gst-plugins-bad-plugins-docs.sgml b/docs/plugins/gst-plugins-bad-plugins-docs.sgml index 1aba2c7a..80332902 100644 --- a/docs/plugins/gst-plugins-bad-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-bad-plugins-docs.sgml @@ -59,6 +59,8 @@ <xi:include href="xml/element-output-selector.xml" /> <xi:include href="xml/element-rtpdtmfdepay.xml" /> <xi:include href="xml/element-rtpdtmfsrc.xml" /> + <xi:include href="xml/element-rtpdtmfmux.xml" /> + <xi:include href="xml/element-rtpmux.xml" /> <xi:include href="xml/element-scaletempo.xml" /> <xi:include href="xml/element-sdlaudiosink.xml" /> <xi:include href="xml/element-sdlvideosink.xml" /> @@ -131,6 +133,7 @@ <xi:include href="xml/plugin-rawparse.xml" /> <xi:include href="xml/plugin-real.xml" /> <xi:include href="xml/plugin-rfbsrc.xml" /> + <xi:include href="xml/plugin-rtpmux.xml" /> <xi:include href="xml/plugin-scaletempo.xml" /> <xi:include href="xml/plugin-sdl.xml" /> <xi:include href="xml/plugin-sdp.xml" /> diff --git a/docs/plugins/gst-plugins-bad-plugins-sections.txt b/docs/plugins/gst-plugins-bad-plugins-sections.txt index 2bd89411..84b5cab6 100644 --- a/docs/plugins/gst-plugins-bad-plugins-sections.txt +++ b/docs/plugins/gst-plugins-bad-plugins-sections.txt @@ -946,3 +946,33 @@ GST_RTP_DTMF_DEPAY_CLASS gst_rtp_dtmf_depay_plugin_init </SECTION> +<SECTION> +<FILE>element-rtpmux</FILE> +<TITLE>rtpmux</TITLE> +GstRTPMux +<SUBSECTION Standard> +GST_IS_RTP_MUX +GST_IS_RTP_MUX_CLASS +GST_RTP_MUX +GST_RTP_MUX_CLASS +GST_RTP_MUX_GET_CLASS +GST_TYPE_RTP_MUX +GstRTPMuxClass +gst_rtp_mux_plugin_init +gst_rtp_session_set_ssrc +</SECTION> + +<SECTION> +<FILE>element-rtpdtmfmux</FILE> +<TITLE>rtpdtmfmux</TITLE> +GstRTPDTMFMux +<SUBSECTION Standard> +GST_IS_RTP_DTMF_MUX +GST_IS_RTP_DTMF_MUX_CLASS +GST_TYPE_RTP_DTMF_MUX +GstRTPDTMFMuxClass +GST_RTP_DTMF_MUX +GST_RTP_DTMF_MUX_CLASS +gst_rtp_dtmf_mux_get_type +gst_rtp_dtmf_mux_plugin_init +</SECTION> diff --git a/docs/plugins/inspect/plugin-dtmf.xml b/docs/plugins/inspect/plugin-dtmf.xml index 2c132c54..0e9b72c8 100644 --- a/docs/plugins/inspect/plugin-dtmf.xml +++ b/docs/plugins/inspect/plugin-dtmf.xml @@ -3,11 +3,11 @@ <description>DTMF plugins</description> <filename>../../gst/dtmf/.libs/libgstdtmf.so</filename> <basename>libgstdtmf.so</basename> - <version>0.1</version> + <version>0.10.10.1</version> <license>LGPL</license> <source>gst-plugins-bad</source> - <package>DTMF</package> - <origin></origin> + <package>GStreamer Bad Plug-ins CVS/prerelease</package> + <origin>Unknown package origin</origin> <elements> <element> <name>dtmfsrc</name> @@ -61,4 +61,4 @@ </pads> </element> </elements> -</plugin>
\ No newline at end of file +</plugin> diff --git a/docs/plugins/inspect/plugin-rtpmux.xml b/docs/plugins/inspect/plugin-rtpmux.xml new file mode 100644 index 00000000..20847ec3 --- /dev/null +++ b/docs/plugins/inspect/plugin-rtpmux.xml @@ -0,0 +1,55 @@ +<plugin> + <name>rtpmux</name> + <description>RTP Muxer plugins</description> + <filename>../../gst/rtpmux/.libs/libgstrtpmux.so</filename> + <basename>libgstrtpmux.so</basename> + <version>0.10.10.1</version> + <license>LGPL</license> + <source>gst-plugins-bad</source> + <package>GStreamer Bad Plug-ins CVS/prerelease</package> + <origin>Unknown package origin</origin> + <elements> + <element> + <name>rtpdtmfmux</name> + <longname>RTP muxer</longname> + <class>Codec/Muxer</class> + <description>mixes RTP DTMF streams into other RTP streams</description> + <author>Zeeshan Ali <first.last@nokia.com></author> + <pads> + <caps> + <name>sink_%d</name> + <direction>sink</direction> + <presence>request</presence> + <details>application/x-rtp</details> + </caps> + <caps> + <name>src</name> + <direction>source</direction> + <presence>always</presence> + <details>application/x-rtp</details> + </caps> + </pads> + </element> + <element> + <name>rtpmux</name> + <longname>RTP muxer</longname> + <class>Codec/Muxer</class> + <description>multiplex N rtp streams into one</description> + <author>Zeeshan Ali <first.last@nokia.com></author> + <pads> + <caps> + <name>sink_%d</name> + <direction>sink</direction> + <presence>request</presence> + <details>application/x-rtp</details> + </caps> + <caps> + <name>src</name> + <direction>source</direction> + <presence>always</presence> + <details>application/x-rtp</details> + </caps> + </pads> + </element> + </elements> +</plugin>
\ No newline at end of file diff --git a/gst/rtpmux/Makefile.am b/gst/rtpmux/Makefile.am index 908181be..be9bc080 100644 --- a/gst/rtpmux/Makefile.am +++ b/gst/rtpmux/Makefile.am @@ -1,10 +1,10 @@ -plugin_LTLIBRARIES = libgstrtpmuxer.la +plugin_LTLIBRARIES = libgstrtpmux.la -libgstrtpmuxer_la_SOURCES = gstrtpmuxer.c gstrtpmux.c gstrtpdtmfmux.c +libgstrtpmux_la_SOURCES = gstrtpmuxer.c gstrtpmux.c gstrtpdtmfmux.c -libgstrtpmuxer_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS) -DEXTERN_BUF -DRTP_SUPPORT -libgstrtpmuxer_la_LIBADD = $(GST_LIBS_LIBS) -libgstrtpmuxer_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ +libgstrtpmux_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS) -DEXTERN_BUF -DRTP_SUPPORT +libgstrtpmux_la_LIBADD = $(GST_LIBS_LIBS) +libgstrtpmux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ noinst_HEADERS = gstrtpmux.h gstrtpdtmfmux.h diff --git a/gst/rtpmux/gstrtpdtmfmux.c b/gst/rtpmux/gstrtpdtmfmux.c index 8b4c4496..9928cc6e 100644 --- a/gst/rtpmux/gstrtpdtmfmux.c +++ b/gst/rtpmux/gstrtpdtmfmux.c @@ -26,8 +26,8 @@ /** * SECTION:element-rtpdtmfmux * @short_description: mixes RTP DTMF streams into other RTP streams - * <refsect2> - * <para> + * @see_also: rtpdtmfsrc, dtmfsrc + * * The RTPDTMFMuxer mixes/muxes RTP DTMF stream(s) into other RTP * streams. It does exactly what it's parent (RTPMuxer) does, except * that it allows upstream peer elements to request exclusive access @@ -40,11 +40,10 @@ * structure of name "stream-lock" with only one boolean field: * "lock". If this field is set to TRUE, the request is for the * acquisition of the lock, otherwise it is for release of the lock. - * </para> - * <para>For example, the following code in an upstream peer element + * + * For example, the following code in an upstream peer element * requests the acquisition of the stream lock: - * </para> - * <para> + * * <programlisting> * GstEvent *event; * GstStructure *structure; @@ -58,8 +57,7 @@ * event = gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM_OOB, structure); * gst_pad_push_event (dtmfsrc->srcpad, event); * </programlisting> - * </para> - * </refsect2> + * */ #ifdef HAVE_CONFIG_H diff --git a/gst/rtpmux/gstrtpmuxer.c b/gst/rtpmux/gstrtpmuxer.c index a4837d7c..619418bd 100644 --- a/gst/rtpmux/gstrtpmuxer.c +++ b/gst/rtpmux/gstrtpmuxer.c @@ -43,6 +43,6 @@ plugin_init (GstPlugin * plugin) GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, - "rtpmuxer", + "rtpmux", "RTP Muxer plugins", - plugin_init, "0.1", "LGPL", "Farsight", "http://farsight.sf.net"); + plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) |