Random doc of the day. Also print human readable format of newsegment in log message if we complain about it.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* docs/plugins/gst-plugins-ugly-plugins.args:
* docs/plugins/gst-plugins-ugly-plugins.hierarchy:
* docs/plugins/gst-plugins-ugly-plugins.interfaces:
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdread.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
* docs/plugins/inspect/plugin-realmedia.xml:
* docs/plugins/inspect/plugin-siddec.xml:
* docs/plugins/inspect/plugin-synaesthesia.xml:
* ext/a52dec/gsta52dec.c:
Random doc of the day. Also print human readable format of newsegment
in log message if we complain about it.
This commit is contained in:
Stefan Kost 2008-05-28 11:43:01 +00:00
parent dd9c29938b
commit c2e3aede74
23 changed files with 174 additions and 88 deletions

View file

@ -1,3 +1,30 @@
2008-05-28 Stefan Kost <ensonic@users.sf.net>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* docs/plugins/gst-plugins-ugly-plugins.args:
* docs/plugins/gst-plugins-ugly-plugins.hierarchy:
* docs/plugins/gst-plugins-ugly-plugins.interfaces:
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdread.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
* docs/plugins/inspect/plugin-realmedia.xml:
* docs/plugins/inspect/plugin-siddec.xml:
* docs/plugins/inspect/plugin-synaesthesia.xml:
* ext/a52dec/gsta52dec.c:
Random doc of the day. Also print human readable format of newsegment
in log message if we complain about it.
2008-05-26 Wim Taymans <wim.taymans@collabora.co.uk>
* ext/a52dec/gsta52dec.c: (gst_a52dec_init), (gst_a52dec_push),

View file

@ -83,6 +83,7 @@ IGNORE_CFILES =
# $(top_srcdir)/ext/gnomevfs/gstgnomevfssink.c
EXTRA_HFILES = \
$(top_srcdir)/ext/a52dec/gsta52dec.h \
$(top_srcdir)/ext/amrnb/amrnbdec.h \
$(top_srcdir)/ext/amrnb/amrnbenc.h \
$(top_srcdir)/ext/amrnb/amrnbparse.h \

View file

@ -12,6 +12,7 @@
<chapter>
<title>gst-plugins-ugly Elements</title>
<xi:include href="xml/element-a52dec.xml" />
<xi:include href="xml/element-amrnbdec.xml" />
<xi:include href="xml/element-amrnbenc.xml" />
<xi:include href="xml/element-amrnbparse.xml" />

View file

@ -1,3 +1,17 @@
<SECTION>
<FILE>element-a52dec</FILE>
<TITLE>a52dec</TITLE>
GstA52Dec
<SUBSECTION Standard>
GstA52DecClass
GST_A52DEC
GST_A52DEC_CLASS
GST_IS_A52DEC
GST_IS_A52DEC_CLASS
GST_TYPE_A52DEC
gst_a52dec_get_type
</SECTION>
<SECTION>
<FILE>element-amrnbdec</FILE>
<TITLE>amrnbdec</TITLE>

View file

@ -668,3 +668,13 @@
<DEFAULT>200</DEFAULT>
</ARG>
<ARG>
<NAME>GstAmrnbEnc::band-mode</NAME>
<TYPE>GstAmrnbEncBandMode</TYPE>
<RANGE></RANGE>
<FLAGS>rwx</FLAGS>
<NICK>Band Mode</NICK>
<BLURB>Encoding Band Mode (Kbps).</BLURB>
<DEFAULT>MR122</DEFAULT>
</ARG>

View file

@ -9,32 +9,39 @@ GObject
GstElement
GstBin
GstPipeline
GstLame
GstSidDec
GstMpeg2dec
GstMad
GstID3TagBase
GstID3Tag
GstBaseSrc
GstPushSrc
GstDvdReadSrc
GstA52Dec
GstASFDemux
GstRTSPWMS
AC3IEC
GstDvdLpcmDec
GstRMDemux
GstRealAudioDemux
GstRDTDepay
GstRDTManager
GstRTSPReal
GstDvdSubDec
GstDvdSubParse
AC3IEC
GstXingMux
GstMPEGAudioParse
GstMPEGParse
GstMPEGDemux
GstDVDDemux
GstRMDemux
GstRealAudioDemux
GstRDTDepay
GstRDTManager
GstRTSPReal
GstSynaesthesia
GstA52Dec
GstAmrnbDec
GstAmrnbParse
GstAmrnbEnc
GstBaseSrc
GstPushSrc
GstDvdReadSrc
GstLame
GstMad
GstID3TagBase
GstID3Tag
GstMpeg2dec
GstSidDec
GstBus
GstTask
GstClock
GstPlugin
GstRegistry
GstSignalObject
@ -42,5 +49,5 @@ GInterface
GTypePlugin
GstChildProxy
GstURIHandler
GstTagSetter
GstRTSPExtension
GstTagSetter

View file

@ -1,7 +1,7 @@
GstBin GstChildProxy
GstPipeline GstChildProxy
GstLame GstTagSetter
GstID3Tag GstTagSetter
GstDvdReadSrc GstURIHandler
GstRTSPWMS GstRTSPExtension
GstRTSPReal GstRTSPExtension
GstDvdReadSrc GstURIHandler
GstLame GstTagSetter
GstID3Tag GstTagSetter

View file

@ -3,11 +3,11 @@
<description>Decodes ATSC A/52 encoded audio streams</description>
<filename>../../ext/a52dec/.libs/libgsta52dec.so</filename>
<basename>libgsta52dec.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>GPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>a52dec</name>

View file

@ -3,11 +3,11 @@
<description>Adaptive Multi-Rate Narrow-Band</description>
<filename>../../ext/amrnb/.libs/libgstamrnb.so</filename>
<basename>libgstamrnb.so</basename>
<version>0.10.6.1</version>
<version>0.10.8.1</version>
<license>unknown</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>Unknown package origin</origin>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>amrnbdec</name>
@ -16,18 +16,18 @@
<description>Adaptive Multi-Rate Narrow-Band audio decoder</description>
<author>Ronald Bultje &lt;rbultje@ronald.bitfreak.net&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, rate=(int)8000, channels=(int)1</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/AMR, rate=(int)8000, channels=(int)1</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, rate=(int)8000, channels=(int)1</details>
</caps>
</pads>
</element>
<element>
@ -37,18 +37,18 @@
<description>Adaptive Multi-Rate Narrow-Band audio encoder</description>
<author>Ronald Bultje &lt;rbultje@ronald.bitfreak.net&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/AMR, rate=(int)8000, channels=(int)1</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, rate=(int)8000, channels=(int)1</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/AMR, rate=(int)8000, channels=(int)1</details>
</caps>
</pads>
</element>
<element>
@ -58,18 +58,18 @@
<description>Adaptive Multi-Rate Narrow-Band audio parser</description>
<author>Ronald Bultje &lt;rbultje@ronald.bitfreak.net&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/AMR, rate=(int)8000, channels=(int)1</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-amr-nb-sh</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/AMR, rate=(int)8000, channels=(int)1</details>
</caps>
</pads>
</element>
</elements>

View file

@ -3,11 +3,11 @@
<description>Demuxes and muxes audio and video in Microsofts ASF format</description>
<filename>../../gst/asfdemux/.libs/libgstasf.so</filename>
<basename>libgstasf.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>asfdemux</name>

View file

@ -3,11 +3,11 @@
<description>Decode DVD LPCM frames into standard PCM</description>
<filename>../../gst/dvdlpcmdec/.libs/libgstdvdlpcmdec.so</filename>
<basename>libgstdvdlpcmdec.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>dvdlpcmdec</name>

View file

@ -3,11 +3,11 @@
<description>Access a DVD with dvdread</description>
<filename>../../ext/dvdread/.libs/libgstdvdread.so</filename>
<basename>libgstdvdread.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>GPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>dvdreadsrc</name>

View file

@ -3,11 +3,11 @@
<description>DVD subtitle parser and decoder</description>
<filename>../../gst/dvdsub/.libs/libgstdvdsub.so</filename>
<basename>libgstdvdsub.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>dvdsubdec</name>

View file

@ -3,11 +3,11 @@
<description>Convert raw AC3 into IEC958 (S/PDIF) frames</description>
<filename>../../gst/iec958/.libs/libgstiec958.so</filename>
<basename>libgstiec958.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>ac3iec958</name>

View file

@ -3,11 +3,11 @@
<description>Encode MP3s with LAME</description>
<filename>../../ext/lame/.libs/libgstlame.so</filename>
<basename>libgstlame.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>lame</name>

View file

@ -3,11 +3,11 @@
<description>id3 tag manipulation and mp3 decoding based on the mad library</description>
<filename>../../ext/mad/.libs/libgstmad.so</filename>
<basename>libgstmad.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>GPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>id3mux</name>

View file

@ -3,11 +3,11 @@
<description>LibMpeg2 decoder</description>
<filename>../../ext/mpeg2dec/.libs/libgstmpeg2dec.so</filename>
<basename>libgstmpeg2dec.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>GPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>mpeg2dec</name>

View file

@ -3,11 +3,11 @@
<description>MPEG-1 layer 1/2/3 audio stream elements</description>
<filename>../../gst/mpegaudioparse/.libs/libgstmpegaudioparse.so</filename>
<basename>libgstmpegaudioparse.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>mp3parse</name>

View file

@ -3,11 +3,11 @@
<description>MPEG system stream parser</description>
<filename>../../gst/mpegstream/.libs/libgstmpegstream.so</filename>
<basename>libgstmpegstream.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>dvddemux</name>

View file

@ -3,11 +3,11 @@
<description>RealMedia demuxer and depayloader</description>
<filename>../../gst/realmedia/.libs/libgstrmdemux.so</filename>
<basename>libgstrmdemux.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>LGPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>rademux</name>

View file

@ -3,11 +3,11 @@
<description>Uses libsidplay to decode .sid files</description>
<filename>../../ext/sidplay/.libs/libgstsid.so</filename>
<basename>libgstsid.so</basename>
<version>0.10.8</version>
<version>0.10.8.1</version>
<license>GPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins source release</package>
<origin>Unknown package origin</origin>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>siddec</name>

View file

@ -3,11 +3,11 @@
<description>Creates video visualizations of audio input, using stereo and pitch information</description>
<filename>../../gst/synaesthesia/.libs/libgstsynaesthesia.so</filename>
<basename>libgstsynaesthesia.so</basename>
<version>0.10.6.1</version>
<version>0.10.8.1</version>
<license>GPL</license>
<source>gst-plugins-ugly</source>
<package>GStreamer Ugly Plug-ins CVS/prerelease</package>
<origin>Unknown package origin</origin>
<origin>http://gstreamer.freedesktop.org</origin>
<elements>
<element>
<name>synaesthesia</name>
@ -16,18 +16,18 @@
<description>Creates video visualizations of audio input, using stereo and pitch information</description>
<author>Richard Boulton &lt;richard@tartarus.org&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)2, endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)2, endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true</details>
</caps>
</pads>
</element>
</elements>

View file

@ -17,6 +17,31 @@
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION:element-a52dec
*
* <refsect2>
* <para>
* Dolby Digital (AC-3) audio decoder.
* </para>
* </refsect2>
* <refsect2>
* <title>Example launch line</title>
* <para>
* <programlisting>
* gst-launch dvdreadsrc title=1 ! dvddemux ! a52dec ! audioresample ! audioconvert ! alsasink
* </programlisting>
* Play audio track from a dvd.
* </para>
* <para>
* <programlisting>
* gst-launch filesrc location=abc.ac3 ! a52dec ! audioresample ! audioconvert ! alsasink
* </programlisting>
* Decode a stand alone file and play it.
* </para>
* </refsect2>
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -410,7 +435,8 @@ gst_a52dec_sink_event (GstPad * pad, GstEvent * event)
gst_event_parse_new_segment (event, NULL, NULL, &format, &val, NULL,
NULL);
if (format != GST_FORMAT_TIME || !GST_CLOCK_TIME_IS_VALID (val)) {
GST_WARNING ("No time in newsegment event %p", event);
GST_WARNING ("No time in newsegment event %p (format is %s)",
event, gst_format_get_name (format));
gst_event_unref (event);
a52dec->sent_segment = FALSE;
} else {