Commit 605482a1 authored by Leandro Melo de Sales's avatar Leandro Melo de Sales Committed by Stefan Kost
Browse files

Add dccp plugin. Fixes #542390.

Original commit message from CVS:
patch by: Leandro Melo de Sales <leandroal@gmail.com>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-dccp.xml:
* gst/dccp/Makefile.am:
* gst/dccp/gstdccp.c:
* gst/dccp/gstdccp.h:
* gst/dccp/gstdccpclientsink.c:
* gst/dccp/gstdccpclientsink.h:
* gst/dccp/gstdccpclientsrc.c:
* gst/dccp/gstdccpclientsrc.h:
* gst/dccp/gstdccpplugin.c:
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversink.h:
* gst/dccp/gstdccpserversrc.c:
* gst/dccp/gstdccpserversrc.h:
* tests/icles/dccp/README:
* tests/icles/dccp/call/README:
* tests/icles/dccp/call/DCCPClient.c:
* tests/icles/dccp/call/DCCPServer.c:
* tests/icles/dccp/file/DCCPClientSaveFile.c:
* tests/icles/dccp/file/DCCPServerSendFile.c:
* tests/icles/dccp/mic/DCCPClientPlayMic.c:
* tests/icles/dccp/mic/DCCPServerMic.c:
* tests/icles/dccp/mp3/DCCPClientPlayMP3.c:
* tests/icles/dccp/mp3/DCCPServerSendMP3.c:
* tests/icles/dccp/mp3Speex/DCCPClientPlaySpeexMP3.c:
* tests/icles/dccp/mp3Speex/DCCPServerSendSpeexMP3.c:
* tests/icles/dccp/mp3Stream/DCCPClientPlayMP3Stream.c:
* tests/icles/dccp/mp3Stream/DCCPServerSendMP3Stream.c:
Add dccp plugin. Fixes #542390.
parent fd668681
2008-08-21 Stefan Kost <ensonic@users.sf.net>
patch by: Leandro Melo de Sales <leandroal@gmail.com>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-dccp.xml:
* gst/dccp/Makefile.am:
* gst/dccp/gstdccp.c:
* gst/dccp/gstdccp.h:
* gst/dccp/gstdccpclientsink.c:
* gst/dccp/gstdccpclientsink.h:
* gst/dccp/gstdccpclientsrc.c:
* gst/dccp/gstdccpclientsrc.h:
* gst/dccp/gstdccpplugin.c:
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversink.h:
* gst/dccp/gstdccpserversrc.c:
* gst/dccp/gstdccpserversrc.h:
* tests/icles/dccp/README:
* tests/icles/dccp/call/README:
* tests/icles/dccp/call/DCCPClient.c:
* tests/icles/dccp/call/DCCPServer.c:
* tests/icles/dccp/file/DCCPClientSaveFile.c:
* tests/icles/dccp/file/DCCPServerSendFile.c:
* tests/icles/dccp/mic/DCCPClientPlayMic.c:
* tests/icles/dccp/mic/DCCPServerMic.c:
* tests/icles/dccp/mp3/DCCPClientPlayMP3.c:
* tests/icles/dccp/mp3/DCCPServerSendMP3.c:
* tests/icles/dccp/mp3Speex/DCCPClientPlaySpeexMP3.c:
* tests/icles/dccp/mp3Speex/DCCPServerSendSpeexMP3.c:
* tests/icles/dccp/mp3Stream/DCCPClientPlayMP3Stream.c:
* tests/icles/dccp/mp3Stream/DCCPServerSendMP3Stream.c:
Add dccp plugin. Fixes #542390.
2008-08-20 Tim-Philipp Müller <tim at collabora co uk>
 
* configure.ac:
......
common @ 8d494854
Subproject commit d70ca17ae6fbe6020996e4567275d5e14972ed45
Subproject commit 8d494854a6018336a80ece82ceb3df0033e2da9c
......@@ -240,6 +240,7 @@ dnl these are all the gst plug-ins, compilable without additional libs
AG_GST_CHECK_PLUGIN(app)
AG_GST_CHECK_PLUGIN(bayer)
AG_GST_CHECK_PLUGIN(cdxaparse)
AG_GST_CHECK_PLUGIN(dccp)
AG_GST_CHECK_PLUGIN(deinterlace)
AG_GST_CHECK_PLUGIN(deinterlace2)
AG_GST_CHECK_PLUGIN(dvdspu)
......@@ -1249,6 +1250,7 @@ gst/Makefile
gst/app/Makefile
gst/bayer/Makefile
gst/cdxaparse/Makefile
gst/dccp/Makefile
gst/deinterlace/Makefile
gst/deinterlace2/Makefile
gst/dvdspu/Makefile
......
......@@ -119,6 +119,10 @@ EXTRA_HFILES = \
$(top_srcdir)/ext/twolame/gsttwolame.h \
$(top_srcdir)/ext/x264/gstx264enc.h \
$(top_srcdir)/gst/deinterlace/gstdeinterlace.h \
$(top_srcdir)/gst/dccp/gstdccpclientsink.h \
$(top_srcdir)/gst/dccp/gstdccpclientsrc.h \
$(top_srcdir)/gst/dccp/gstdccpserversink.h \
$(top_srcdir)/gst/dccp/gstdccpserversrc.h \
$(top_srcdir)/gst/dvdspu/gstdvdspu.h \
$(top_srcdir)/gst/festival/gstfestival.h \
$(top_srcdir)/gst/modplug/gstmodplug.h \
......
......@@ -18,6 +18,10 @@
<xi:include href="xml/element-audioparse.xml" />
<xi:include href="xml/element-celtdec.xml" />
<xi:include href="xml/element-celtenc.xml" />
<xi:include href="xml/element-dccpclientsink.xml" />
<xi:include href="xml/element-dccpclientsrc.xml" />
<xi:include href="xml/element-dccpserversink.xml" />
<xi:include href="xml/element-dccpserversrc.xml" />
<xi:include href="xml/element-deinterlace.xml" />
<xi:include href="xml/element-dfbvideosink.xml" />
<xi:include href="xml/element-dvbsrc.xml" />
......@@ -70,6 +74,7 @@
<xi:include href="xml/plugin-cdaudio.xml" />
<xi:include href="xml/plugin-cdxaparse.xml" />
<xi:include href="xml/plugin-celt.xml" />
<xi:include href="xml/plugin-dccp.xml" />
<xi:include href="xml/plugin-dfbvideosink.xml" />
<xi:include href="xml/plugin-dtsdec.xml" />
<xi:include href="xml/plugin-dvbsrc.xml" />
......
......@@ -96,6 +96,62 @@ GST_TYPE_DC1394
gst_dc1394_get_type
</SECTION>
<SECTION>
<FILE>element-dccpclientsink</FILE>
<TITLE>dccpclientsink</TITLE>
GstDCCPClientSink
<SUBSECTION Standard>
GstDCCPClientSinkClass
GST_DCCP_CLIENT_SINK
GST_DCCP_CLIENT_SINK_CLASS
GST_IS_DCCP_CLIENT_SINK
GST_IS_DCCP_CLIENT_SINK_CLASS
GST_TYPE_DCCP_CLIENT_SINK
gst_dccp_client_sink_get_type
</SECTION>
<SECTION>
<FILE>element-dccpclientsrc</FILE>
<TITLE>dccpclientsrc</TITLE>
GstDCCPClientSrc
<SUBSECTION Standard>
GstDCCPClientSrcClass
GST_DCCP_CLIENT_SRC
GST_DCCP_CLIENT_SRC_CLASS
GST_IS_DCCP_CLIENT_SRC
GST_IS_DCCP_CLIENT_SRC_CLASS
GST_TYPE_DCCP_CLIENT_SRC
gst_dccp_client_src_get_type
</SECTION>
<SECTION>
<FILE>element-dccpserversink</FILE>
<TITLE>dccpserversink</TITLE>
GstDCCPServerSink
<SUBSECTION Standard>
GstDCCPServerSinkClass
GST_DCCP_SERVER_SINK
GST_DCCP_SERVER_SINK_CLASS
GST_IS_DCCP_SERVER_SINK
GST_IS_DCCP_SERVER_SINK_CLASS
GST_TYPE_DCCP_SERVER_SINK
gst_dccp_server_sink_get_type
</SECTION>
<SECTION>
<FILE>element-dccpserversrc</FILE>
<TITLE>dccpserversrc</TITLE>
GstDCCPServerSrc
<SUBSECTION Standard>
GstDCCPServerSrcClass
GST_DCCP_SERVER_SRC
GST_DCCP_SERVER_SRC_CLASS
GST_IS_DCCP_SERVER_SRC
GST_IS_DCCP_SERVER_SRC_CLASS
GST_TYPE_DCCP_SERVER_SRC
gst_dccp_server_src_get_type
</SECTION>
<SECTION>
<FILE>element-deinterlace</FILE>
<TITLE>deinterlace</TITLE>
......
......@@ -17000,12 +17000,12 @@
<ARG>
<NAME>GstX264Enc::pass</NAME>
<TYPE>GstX264EncPass</TYPE>
<RANGE></RANGE>
<TYPE>guint</TYPE>
<RANGE><= 3</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Encoding pass/type</NICK>
<BLURB>Encoding pass/type.</BLURB>
<DEFAULT>Constant Bitrate Encoding</DEFAULT>
<NICK>Pass</NICK>
<BLURB>Pass of multipass encoding (0=single pass; 1=first pass, 2=middle pass, 3=last pass).</BLURB>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
......@@ -17051,10 +17051,10 @@
<ARG>
<NAME>GstX264Enc::threads</NAME>
<TYPE>guint</TYPE>
<RANGE><= 4</RANGE>
<RANGE>[1,4]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Threads</NICK>
<BLURB>Number of threads used by the codec (0 for automatic).</BLURB>
<BLURB>Number of threads used by the codec.</BLURB>
<DEFAULT>1</DEFAULT>
</ARG>
......@@ -22020,7 +22020,7 @@
<FLAGS>rw</FLAGS>
<NICK>Method</NICK>
<BLURB>Deinterlace Method.</BLURB>
<DEFAULT>Toms Motion Compensation</DEFAULT>
<DEFAULT>Motion Adaptive: Motion Search</DEFAULT>
</ARG>
<ARG>
......@@ -22233,3 +22233,223 @@
<DEFAULT>NULL</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSrc::caps</NAME>
<TYPE>GstCaps*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Caps</NICK>
<BLURB>The caps of the source pad.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSrc::ccid</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 2</RANGE>
<FLAGS>rw</FLAGS>
<NICK>CCID</NICK>
<BLURB>The Congestion Control IDentified to be used.</BLURB>
<DEFAULT>2</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSrc::close-socket</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Close socket</NICK>
<BLURB>Close socket at the end of stream.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSrc::host</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Host</NICK>
<BLURB>The host IP address to receive packets from.</BLURB>
<DEFAULT>"127.0.0.1"</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSrc::port</NAME>
<TYPE>gint</TYPE>
<RANGE>[0,65535]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Port</NICK>
<BLURB>The port to receive the packets from, 0=allocate.</BLURB>
<DEFAULT>5001</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSrc::sockfd</NAME>
<TYPE>gint</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Socket fd</NICK>
<BLURB>The socket file descriptor.</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSink::ccid</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 2</RANGE>
<FLAGS>rw</FLAGS>
<NICK>CCID</NICK>
<BLURB>The Congestion Control IDentified to be used.</BLURB>
<DEFAULT>2</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSink::close-socket</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Close</NICK>
<BLURB>Close socket at end of stream.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSink::port</NAME>
<TYPE>gint</TYPE>
<RANGE>[0,65535]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Port</NICK>
<BLURB>The port to receive the packets from, 0=allocate.</BLURB>
<DEFAULT>5001</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSink::sockfd</NAME>
<TYPE>gint</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Socket fd</NICK>
<BLURB>The client socket file descriptor.</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSink::wait-connections</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Wait connections</NICK>
<BLURB>Wait for many client connections.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSink::ccid</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 2</RANGE>
<FLAGS>rw</FLAGS>
<NICK>CCID</NICK>
<BLURB>The Congestion Control IDentified to be used.</BLURB>
<DEFAULT>2</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSink::close-socket</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Close</NICK>
<BLURB>Close socket at end of stream.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSink::host</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Host</NICK>
<BLURB>The host IP address to send packets to.</BLURB>
<DEFAULT>"127.0.0.1"</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSink::port</NAME>
<TYPE>gint</TYPE>
<RANGE>[0,65535]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Port</NICK>
<BLURB>The port to receive the packets from, 0=allocate.</BLURB>
<DEFAULT>5001</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPClientSink::sockfd</NAME>
<TYPE>gint</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Socket fd</NICK>
<BLURB>The socket file descriptor.</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSrc::caps</NAME>
<TYPE>GstCaps*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Caps</NICK>
<BLURB>The caps of the source pad.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSrc::ccid</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 2</RANGE>
<FLAGS>rw</FLAGS>
<NICK>CCID</NICK>
<BLURB>The Congestion Control IDentified to be used.</BLURB>
<DEFAULT>2</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSrc::close-socket</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Close socket</NICK>
<BLURB>Close socket at the end of stream.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSrc::host</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Host</NICK>
<BLURB>The hostname to listen as.</BLURB>
<DEFAULT>NULL</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSrc::port</NAME>
<TYPE>gint</TYPE>
<RANGE>[0,65535]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Port</NICK>
<BLURB>The port to receive the packets from, 0=allocate.</BLURB>
<DEFAULT>5001</DEFAULT>
</ARG>
<ARG>
<NAME>GstDCCPServerSrc::sockfd</NAME>
<TYPE>gint</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Socket fd</NICK>
<BLURB>The client socket file descriptor.</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
......@@ -11,109 +11,34 @@ GObject
GstElement
GstBin
GstPipeline
GstSDPDemux
GstRgVolume
RsnDvdBin
DvbBaseBin
GstRtpBin
GstRtpClient
DvbBaseBin
GstCDXAParse
GstVcdParse
GstBaseTransform
GstDeinterlace
GstIIR
GstBayer2RGB
GstAudioFilter
GstStereo
GstBPMDetect
GstVideoCrop
GstRgAnalysis
GstRgLimiter
GstVideoFilter
GstVideoAnalyse
GstVideoDetect
GstVideoMark
GstSpeexResample
GstFestival
GstRgVolume
GstSDPDemux
GstX264Enc
GstBaseMetadata
GstMetadataDemux
GstMetadataMux
GstWildmidi
GstTimidity
GstBaseSrc
GstAppSrc
GstPushSrc
GstRfbSrc
GstVCDSrc
GstDvbSrc
GstMythtvSrc
GstNeonhttpSrc
GstMMS
GstBaseAudioSrc
GstJackAudioSrc
GstAudioSrc
GstOss4Source
GstJackAudioSrc
GstMMS
GstNeonhttpSrc
GstMythtvSrc
GstDvbSrc
GstVCDSrc
GstDCCPClientSrc
GstDCCPServerSrc
GstRfbSrc
GstSFSrc
GstBaseSink
GstAppSink
GstVideoSink
GstGLImageSink
GstSDLVideoSink
GstBaseAudioSink
GstAudioSink
GstOss4Sink
GstNasSink
GstSDLAudioSink
GstJackAudioSink
GstFBDEVSink
AlsaSPDIFSink
GstSFSink
GstFreeze
GstFLVDemux
GstH264Parse
GstModPlug
GstInputSelector
GstOutputSelector
GstDVDSpu
GstNsfDec
GstSpeed
GstTtaParse
GstTtaDec
GstDeinterlace2
GstY4mEncode
GstNuvDemux
GstRealVideoDec
GstRealAudioDec
GstInterleave
GstDeinterleave
GstMveDemux
GstMveMux
GstVMncDec
MpegVideoParse
GstMpeg4VParse
GstRtpJitterBuffer
GstRtpPtDemux
GstRtpSession
GstRtpSsrcDemux
GstRawParse
GstVideoParse
GstAudioParse
MpegTSParse
GstSrtEnc
GstOss4Mixer
GstAmrwbDec
GstAmrwbParse
GstAmrwbEnc
GstBz2enc
GstBz2dec
GstCDAudio
GstDtsDec
GstFaac
GstFaad
GstGSMEnc
GstGSMDec
GstMpeg2enc
GstMplex
GstMusepackDec
GstTRM
GstPitch
GstSpcDec
GstXvidEnc
GstXvidDec
GstAppSrc
GstSignalProcessor
ladspa-delay-5s
ladspa-amp-mono
......@@ -346,12 +271,91 @@ GObject
ladspa-mbeq
ladspa-pitchScaleHQ
ladspa-imp
GstTimidity
GstWildmidi
GstBaseMetadata
GstMetadataDemux
GstMetadataMux
GstX264Enc
GstXvidEnc
GstXvidDec
GstSpcDec
GstPitch
GstBaseTransform
GstAudioFilter
GstBPMDetect
GstStereo
GstSpeexResample
GstVideoFilter
GstVideoAnalyse
GstVideoDetect
GstVideoMark
GstRgAnalysis
GstRgLimiter
GstVideoCrop
GstBayer2RGB
GstIIR
GstDeinterlace
GstBaseSink
GstSFSink
GstVideoSink
GstSDLVideoSink
GstGLImageSink
GstBaseAudioSink
GstAudioSink
GstSDLAudioSink
GstNasSink
GstOss4Sink
GstJackAudioSink
AlsaSPDIFSink
GstFBDEVSink
GstDCCPServerSink
GstDCCPClientSink
GstAppSink
GstTRM
GstMusepackDec
GstMpeg2enc
GstGSMEnc
GstGSMDec
GstFaad
GstFaac
GstDtsDec
GstCDAudio
GstBz2enc
GstBz2dec
GstAmrwbDec
GstAmrwbParse
GstAmrwbEnc
GstOss4Mixer
GstSrtEnc
MpegTSParse
GstRawParse
GstVideoParse
GstAudioParse
GstRtpJitterBuffer
GstRtpPtDemux
GstRtpSession
GstRtpSsrcDemux
GstMpeg4VParse
MpegVideoParse
GstVMncDec
GstMveDemux
GstMveMux
GstInterleave
GstDeinterleave