Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421

Original commit message from CVS:
* configure.ac:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-app.xml:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c:
* tests/examples/Makefile.am:
* tests/examples/app/Makefile.am:
Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421
This commit is contained in:
Jan Schmidt 2009-01-05 23:04:57 +00:00
parent 0a4c1bc64c
commit 08393941a8
19 changed files with 507 additions and 79 deletions

View file

@ -1,3 +1,26 @@
2009-01-05 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-app.xml:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c:
* tests/examples/Makefile.am:
* tests/examples/app/Makefile.am:
Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421
2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk> 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/audio/gstbaseaudiosink.c: * gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -294,6 +294,7 @@ dnl *** plug-ins to include ***
dnl these are all the gst plug-ins, compilable without additional libs dnl these are all the gst plug-ins, compilable without additional libs
AG_GST_CHECK_PLUGIN(adder) AG_GST_CHECK_PLUGIN(adder)
AG_GST_CHECK_PLUGIN(app)
AG_GST_CHECK_PLUGIN(audioconvert) AG_GST_CHECK_PLUGIN(audioconvert)
AG_GST_CHECK_PLUGIN(audiorate) AG_GST_CHECK_PLUGIN(audiorate)
AG_GST_CHECK_PLUGIN(audiotestsrc) AG_GST_CHECK_PLUGIN(audiotestsrc)
@ -647,6 +648,7 @@ Makefile
gst-plugins-base.spec gst-plugins-base.spec
gst/Makefile gst/Makefile
gst/adder/Makefile gst/adder/Makefile
gst/app/Makefile
gst/audioconvert/Makefile gst/audioconvert/Makefile
gst/audiorate/Makefile gst/audiorate/Makefile
gst/audiotestsrc/Makefile gst/audiotestsrc/Makefile
@ -678,6 +680,7 @@ ext/vorbis/Makefile
gst-libs/Makefile gst-libs/Makefile
gst-libs/gst/Makefile gst-libs/gst/Makefile
gst-libs/gst/audio/Makefile gst-libs/gst/audio/Makefile
gst-libs/gst/app/Makefile
gst-libs/gst/cdda/Makefile gst-libs/gst/cdda/Makefile
gst-libs/gst/fft/Makefile gst-libs/gst/fft/Makefile
gst-libs/gst/floatcast/Makefile gst-libs/gst/floatcast/Makefile
@ -724,6 +727,7 @@ pkgconfig/gstreamer-plugins-base-uninstalled.pc
tests/Makefile tests/Makefile
tests/check/Makefile tests/check/Makefile
tests/examples/Makefile tests/examples/Makefile
tests/examples/app/Makefile
tests/examples/dynamic/Makefile tests/examples/dynamic/Makefile
tests/examples/seek/Makefile tests/examples/seek/Makefile
tests/examples/volume/Makefile tests/examples/volume/Makefile

View file

@ -74,7 +74,8 @@ SCANOBJ_DEPS = \
$(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_MAJORMINOR@.la \ $(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_MAJORMINOR@.la \
$(top_builddir)/gst-libs/gst/sdp/libgstsdp-@GST_MAJORMINOR@.la \ $(top_builddir)/gst-libs/gst/sdp/libgstsdp-@GST_MAJORMINOR@.la \
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \ $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la \
$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la
# Header files to ignore when scanning. # Header files to ignore when scanning.
IGNORE_HFILES = IGNORE_HFILES =

View file

@ -4,6 +4,9 @@
<!ENTITY % version-entities SYSTEM "version.entities"> <!ENTITY % version-entities SYSTEM "version.entities">
%version-entities; %version-entities;
<!ENTITY GstCompiling SYSTEM "compiling.sgml"> <!ENTITY GstCompiling SYSTEM "compiling.sgml">
<!-- app-->
<!ENTITY GstAppSrc SYSTEM "xml/gstappsrc.xml">
<!ENTITY GstAppSink SYSTEM "xml/gstappsink.xml">
<!-- audio --> <!-- audio -->
<!ENTITY GstAudio SYSTEM "xml/gstaudio.xml"> <!ENTITY GstAudio SYSTEM "xml/gstaudio.xml">
<!ENTITY GstAudioClock SYSTEM "xml/gstaudioclock.xml"> <!ENTITY GstAudioClock SYSTEM "xml/gstaudioclock.xml">
@ -15,6 +18,7 @@
<!ENTITY GstBaseAudioSrc SYSTEM "xml/gstbaseaudiosrc.xml"> <!ENTITY GstBaseAudioSrc SYSTEM "xml/gstbaseaudiosrc.xml">
<!ENTITY GstMultiChannel SYSTEM "xml/gstmultichannel.xml"> <!ENTITY GstMultiChannel SYSTEM "xml/gstmultichannel.xml">
<!ENTITY GstRingBuffer SYSTEM "xml/gstringbuffer.xml"> <!ENTITY GstRingBuffer SYSTEM "xml/gstringbuffer.xml">
<!-- app -->
<!-- cdda --> <!-- cdda -->
<!ENTITY GstCddaBaseSrc SYSTEM "xml/gstcddabasesrc.xml"> <!ENTITY GstCddaBaseSrc SYSTEM "xml/gstcddabasesrc.xml">
<!-- fft --> <!-- fft -->
@ -96,6 +100,20 @@
</para> </para>
&GstCompiling; &GstCompiling;
<chapter id="gstreamer-app">
<title>App Library</title>
<para>
This library should be linked to by getting cflags and libs from
<filename>gstreamer-plugins-base-&GST_MAJORMINOR;.pc</filename> and adding
<filename>-lgstapp-&GST_MAJORMINOR;</filename> to the library flags.
</para>
<para>
To use it the functionality, insert an appsrc or appsink element into a pipeline and call the appropriate functions on the element.
</para>
&GstAppSrc;
&GstAppSink;
</chapter>
<chapter id="gstreamer-audio"> <chapter id="gstreamer-audio">
<title>Audio Library</title> <title>Audio Library</title>
<para> <para>

View file

@ -1,3 +1,64 @@
# app
<SECTION>
<FILE>gstappsrc</FILE>
<TITLE>appsrc</TITLE>
<INCLUDE>gst/app/appsrc.h</INCLUDE>
GstAppSrc
GstAppStreamType
gst_app_src_set_caps
gst_app_src_get_caps
gst_app_src_get_latency
gst_app_src_set_latency
gst_app_src_set_size
gst_app_src_get_size
gst_app_src_set_stream_type
gst_app_src_get_stream_type
gst_app_src_set_max_bytes
gst_app_src_get_max_bytes
gst_app_src_push_buffer
gst_app_src_end_of_stream
<SUBSECTION Standard>
GstAppSrcClass
GST_APP_SRC
GST_IS_APP_SRC
GST_TYPE_APP_SRC
gst_app_src_get_type
GST_APP_SRC_CLASS
GST_IS_APP_SRC_CLASS
<SUBSECTION Private>
gst_app_buffer_get_type
gst_app_buffer_new
gst_app_marshal_BOOLEAN__UINT64
gst_app_marshal_ENUM__OBJECT
gst_app_marshal_ENUM__VOID
gst_app_marshal_VOID__UINT
</SECTION>
<SECTION>
<FILE>gstappsink</FILE>
<TITLE>appsink</TITLE>
<INCLUDE>gst/app/appsink.h</INCLUDE>
GstAppSink
gst_app_sink_set_caps
gst_app_sink_get_caps
gst_app_sink_is_eos
gst_app_sink_set_emit_signals
gst_app_sink_get_emit_signals
gst_app_sink_set_max_buffers
gst_app_sink_get_max_buffers
gst_app_sink_set_drop
gst_app_sink_get_drop
gst_app_sink_pull_preroll
gst_app_sink_pull_buffer
<SUBSECTION Standard>
GstAppSinkClass
GST_APP_SINK
GST_IS_APP_SINK
GST_TYPE_APP_SINK
gst_app_sink_get_type
GST_APP_SINK_CLASS
GST_IS_APP_SINK_CLASS
</SECTION>
# audio # audio

View file

@ -119,7 +119,9 @@ EXTRA_HFILES = \
$(top_srcdir)/gst/videotestsrc/gstvideotestsrc.h \ $(top_srcdir)/gst/videotestsrc/gstvideotestsrc.h \
$(top_srcdir)/gst/volume/gstvolume.h \ $(top_srcdir)/gst/volume/gstvolume.h \
$(top_srcdir)/sys/ximage/ximagesink.h \ $(top_srcdir)/sys/ximage/ximagesink.h \
$(top_srcdir)/sys/xvimage/xvimagesink.h $(top_srcdir)/sys/xvimage/xvimagesink.h \
$(top_srcdir)/gst-libs/gst/app/gstappsrc.h \
$(top_srcdir)/gst-libs/gst/app/gstappsink.h
# Images to copy into HTML directory. # Images to copy into HTML directory.
HTML_IMAGES = HTML_IMAGES =

View file

@ -13,6 +13,8 @@
<chapter> <chapter>
<title>gst-plugins-base Elements</title> <title>gst-plugins-base Elements</title>
<xi:include href="xml/element-adder.xml" /> <xi:include href="xml/element-adder.xml" />
<xi:include href="xml/element-appsrc.xml" />
<xi:include href="xml/element-appsink.xml" />
<xi:include href="xml/element-alsamixer.xml" /> <xi:include href="xml/element-alsamixer.xml" />
<xi:include href="xml/element-alsasink.xml" /> <xi:include href="xml/element-alsasink.xml" />
<xi:include href="xml/element-alsasrc.xml" /> <xi:include href="xml/element-alsasrc.xml" />
@ -64,6 +66,7 @@
<title>gst-plugins-base Plugins</title> <title>gst-plugins-base Plugins</title>
<xi:include href="xml/plugin-adder.xml" /> <xi:include href="xml/plugin-adder.xml" />
<xi:include href="xml/plugin-alsa.xml" /> <xi:include href="xml/plugin-alsa.xml" />
<xi:include href="xml/plugin-app.xml" />
<xi:include href="xml/plugin-audioconvert.xml" /> <xi:include href="xml/plugin-audioconvert.xml" />
<xi:include href="xml/plugin-audiorate.xml" /> <xi:include href="xml/plugin-audiorate.xml" />
<xi:include href="xml/plugin-audioresample.xml" /> <xi:include href="xml/plugin-audioresample.xml" />

View file

@ -16,6 +16,18 @@ GstAdderFunction
GstAdderInputChannel GstAdderInputChannel
</SECTION> </SECTION>
<SECTION>
<FILE>element-appsrc</FILE>
<TITLE>appsrc</TITLE>
GstAppSrc
</SECTION>
<SECTION>
<FILE>element-appsink</FILE>
<TITLE>appsink</TITLE>
GstAppSink
</SECTION>
<SECTION> <SECTION>
<FILE>element-alsamixer</FILE> <FILE>element-alsamixer</FILE>
GstAlsaMixerElement GstAlsaMixerElement

View file

@ -1368,6 +1368,26 @@
<DEFAULT>Sine</DEFAULT> <DEFAULT>Sine</DEFAULT>
</ARG> </ARG>
<ARG>
<NAME>GstAudioTestSrc::can-activate-pull</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Can activate pull</NICK>
<BLURB>Can activate in pull mode.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstAudioTestSrc::can-activate-push</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Can activate push</NICK>
<BLURB>Can activate in push mode.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG> <ARG>
<NAME>GstVideoScale::method</NAME> <NAME>GstVideoScale::method</NAME>
<TYPE>GstVideoScaleMethod</TYPE> <TYPE>GstVideoScaleMethod</TYPE>
@ -2588,3 +2608,143 @@
<DEFAULT>"%H:%M:%S"</DEFAULT> <DEFAULT>"%H:%M:%S"</DEFAULT>
</ARG> </ARG>
<ARG>
<NAME>GstAppSink::caps</NAME>
<TYPE>GstCaps*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Caps</NICK>
<BLURB>The allowed caps for the sink pad.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSink::drop</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Drop</NICK>
<BLURB>Drop old buffers when the buffer queue is filled.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSink::emit-signals</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Emit signals</NICK>
<BLURB>Emit new-preroll and new-buffer signals.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSink::eos</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>r</FLAGS>
<NICK>EOS</NICK>
<BLURB>Check if the sink is EOS or not started.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSink::max-buffers</NAME>
<TYPE>guint</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Max Buffers</NICK>
<BLURB>The maximum number of buffers to queue internally (0 = unlimited).</BLURB>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::block</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Block</NICK>
<BLURB>Block push-buffer when max-bytes are queued.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::caps</NAME>
<TYPE>GstCaps*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Caps</NICK>
<BLURB>The allowed caps for the src pad.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::format</NAME>
<TYPE>GstFormat</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Format</NICK>
<BLURB>The format of the segment events and seek.</BLURB>
<DEFAULT>GST_FORMAT_BYTES</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::is-live</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Is Live</NICK>
<BLURB>Whether to act as a live source.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::max-bytes</NAME>
<TYPE>guint64</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Max bytes</NICK>
<BLURB>The maximum number of bytes to queue internally (0 = unlimited).</BLURB>
<DEFAULT>200000</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::max-latency</NAME>
<TYPE>gint64</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Max Latency</NICK>
<BLURB>The maximum latency (-1 = unlimited).</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::min-latency</NAME>
<TYPE>gint64</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Min Latency</NICK>
<BLURB>The minimum latency (-1 = default).</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::size</NAME>
<TYPE>gint64</TYPE>
<RANGE>>= -1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Size</NICK>
<BLURB>The size of the data stream in bytes (-1 if unknown).</BLURB>
<DEFAULT>-1</DEFAULT>
</ARG>
<ARG>
<NAME>GstAppSrc::stream-type</NAME>
<TYPE>GstAppStreamType</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Stream Type</NICK>
<BLURB>the type of the stream.</BLURB>
<DEFAULT>Stream</DEFAULT>
</ARG>

View file

@ -12,14 +12,11 @@ GObject
GstPlayBaseBin GstPlayBaseBin
GstPlayBin GstPlayBin
GstPlayBin2 GstPlayBin2
GstDecodeBin
GstDecodeBin2 GstDecodeBin2
GstURIDecodeBin GstURIDecodeBin
GstTextOverlay GstDecodeBin
GstTimeOverlay
GstClockOverlay
GstTextRender
GstBaseSrc GstBaseSrc
GstGnomeVFSSrc
GstPushSrc GstPushSrc
GstCddaBaseSrc GstCddaBaseSrc
GstCdParanoiaSrc GstCdParanoiaSrc
@ -31,33 +28,37 @@ GObject
GstTCPClientSrc GstTCPClientSrc
GstTCPServerSrc GstTCPServerSrc
GstVideoTestSrc GstVideoTestSrc
GstGnomeVFSSrc
GstGioBaseSrc GstGioBaseSrc
GstGioSrc GstGioSrc
GstGioStreamSrc GstGioStreamSrc
GstAudioTestSrc GstAudioTestSrc
GstAppSrc
GstBaseSink GstBaseSink
GstGnomeVFSSink GstGnomeVFSSink
GstBaseAudioSink
GstAudioSink
GstAlsaSink
GstGioBaseSink GstGioBaseSink
GstGioSink GstGioSink
GstGioStreamSink GstGioStreamSink
GstBaseAudioSink
GstAudioSink
GstAlsaSink
GstVideoSink GstVideoSink
GstXvImageSink
GstXImageSink GstXImageSink
GstXvImageSink
GstTCPClientSink GstTCPClientSink
GstMultiFdSink GstMultiFdSink
GstTCPServerSink GstTCPServerSink
GstAppSink
GstTheoraDec
GstTheoraEnc
GstTheoraParse
GstVorbisEnc GstVorbisEnc
GstVorbisDec GstVorbisDec
GstVorbisParse GstVorbisParse
GstVorbisTag GstVorbisTag
GstAlsaMixerElement GstTextOverlay
GstTheoraDec GstTimeOverlay
GstTheoraEnc GstClockOverlay
GstTheoraParse GstTextRender
GstOggDemux GstOggDemux
GstOggMux GstOggMux
GstOgmParse GstOgmParse
@ -66,31 +67,23 @@ GObject
GstOgmTextParse GstOgmTextParse
GstOggParse GstOggParse
GstOggAviParse GstOggAviParse
GstVisual GstAlsaMixerElement
GstVisualjess
GstVisualbumpscope
GstVisualcorona
GstVisualinfinite
GstVisualjakdaw
GstVisuallv_analyzer
GstVisuallv_scope
GstVisualoinksie
GstGDPDepay
GstGDPPay
GstStreamSelector
GstQueue2
GstBaseTransform GstBaseTransform
GstAudioFilter
GstVolume
GstFFMpegCsp GstFFMpegCsp
GstSpeexResample
GstVideoScale GstVideoScale
GstAudioConvert GstAudioConvert
GstAdder GstAudioFilter
GstVolume
GstSpeexResample
GstGDPDepay
GstGDPPay
GstVideoRate GstVideoRate
GstAudioRate GstQueue2
GstStreamSelector
GstSubParse GstSubParse
GstSsaParse GstSsaParse
GstAdder
GstAudioRate
GstBus GstBus
GstTask GstTask
GstClock GstClock
@ -100,10 +93,6 @@ GObject
GstRegistry GstRegistry
GstRingBuffer GstRingBuffer
GstSignalObject GstSignalObject
PangoFontMap
PangoFcFontMap
PangoFT2FontMap
PangoContext
LinkConnection LinkConnection
GIOPConnection GIOPConnection
LinkServer LinkServer
@ -111,12 +100,16 @@ GObject
GConfClient GConfClient
GFileMonitor GFileMonitor
GLocalDirectoryMonitor GLocalDirectoryMonitor
GFamDirectoryMonitor
GInotifyDirectoryMonitor GInotifyDirectoryMonitor
GLocalFileMonitor GLocalFileMonitor
GFamFileMonitor
GInotifyFileMonitor GInotifyFileMonitor
GVolumeMonitor GVolumeMonitor
GNativeVolumeMonitor GNativeVolumeMonitor
GHalVolumeMonitor GProxyVolumeMonitor
GProxyVolumeMonitorHal
GProxyVolumeMonitorGPhoto2
GUnixVolumeMonitor GUnixVolumeMonitor
GDaemonVolumeMonitor GDaemonVolumeMonitor
GVfs GVfs
@ -127,33 +120,35 @@ GObject
GVfsUriMapper GVfsUriMapper
GVfsUriMapperSmb GVfsUriMapperSmb
GVfsUriMapperHttp GVfsUriMapperHttp
HalDevice
HalPool
GHalDrive
GHalMount
GHalVolume
GAppLookupGConf GAppLookupGConf
GProxyDrive
GProxyMount
GProxyVolume
GOutputStream GOutputStream
GInputStream GInputStream
PangoFontMap
PangoFcFontMap
PangoFT2FontMap
PangoContext
GstTunerNorm GstTunerNorm
GstTunerChannel GstTunerChannel
GstColorBalanceChannel GstColorBalanceChannel
GstStreamInfo
GstMixerTrack GstMixerTrack
GstStreamInfo
GInterface GInterface
GTypePlugin GTypePlugin
GstChildProxy GstChildProxy
GstURIHandler GstURIHandler
GstTagSetter
GstImplementsInterface
GstMixer
GstPropertyProbe
GFile GFile
GDesktopAppInfoLookup GDesktopAppInfoLookup
GDrive GDrive
GMount GMount
GVolume GVolume
GstTuner GstTagSetter
GstXOverlay GstImplementsInterface
GstColorBalance GstMixer
GstPropertyProbe
GstNavigation GstNavigation
GstXOverlay
GstTuner
GstColorBalance

View file

@ -3,28 +3,29 @@ GstPipeline GstChildProxy
GstPlayBaseBin GstChildProxy GstPlayBaseBin GstChildProxy
GstPlayBin GstChildProxy GstPlayBin GstChildProxy
GstPlayBin2 GstChildProxy GstPlayBin2 GstChildProxy
GstDecodeBin GstChildProxy
GstDecodeBin2 GstChildProxy GstDecodeBin2 GstChildProxy
GstURIDecodeBin GstChildProxy GstURIDecodeBin GstChildProxy
GstDecodeBin GstChildProxy
GstGnomeVFSSrc GstURIHandler
GstCddaBaseSrc GstURIHandler GstCddaBaseSrc GstURIHandler
GstCdParanoiaSrc GstURIHandler GstCdParanoiaSrc GstURIHandler
GstAlsaSrc GstImplementsInterface GstMixer GstPropertyProbe GstAlsaSrc GstImplementsInterface GstMixer GstPropertyProbe
GstV4lElement GstImplementsInterface GstPropertyProbe GstTuner GstXOverlay GstColorBalance GstV4lElement GstImplementsInterface GstPropertyProbe GstXOverlay GstTuner GstColorBalance
GstV4lSrc GstImplementsInterface GstPropertyProbe GstTuner GstXOverlay GstColorBalance GstV4lSrc GstImplementsInterface GstPropertyProbe GstXOverlay GstTuner GstColorBalance
GstGnomeVFSSrc GstURIHandler
GstGioSrc GstURIHandler GstGioSrc GstURIHandler
GstAppSrc GstURIHandler
GstGnomeVFSSink GstURIHandler GstGnomeVFSSink GstURIHandler
GstAlsaSink GstPropertyProbe
GstGioSink GstURIHandler GstGioSink GstURIHandler
GstXvImageSink GstImplementsInterface GstPropertyProbe GstXOverlay GstColorBalance GstNavigation GstAlsaSink GstPropertyProbe
GstXImageSink GstImplementsInterface GstXOverlay GstNavigation GstXImageSink GstImplementsInterface GstNavigation GstXOverlay
GstXvImageSink GstImplementsInterface GstPropertyProbe GstNavigation GstXOverlay GstColorBalance
GstVorbisEnc GstTagSetter GstVorbisEnc GstTagSetter
GstVorbisTag GstTagSetter GstVorbisTag GstTagSetter
GstAlsaMixerElement GstImplementsInterface GstMixer GstPropertyProbe GstAlsaMixerElement GstImplementsInterface GstMixer GstPropertyProbe
GstVolume GstImplementsInterface GstMixer GstVolume GstImplementsInterface GstMixer
GTypeModule GTypePlugin GTypeModule GTypePlugin
GIOModule GTypePlugin GIOModule GTypePlugin
GHalDrive GDrive
GHalMount GMount
GHalVolume GVolume
GAppLookupGConf GDesktopAppInfoLookup GAppLookupGConf GDesktopAppInfoLookup
GProxyDrive GDrive
GProxyMount GMount
GProxyVolume GVolume

View file

@ -1,12 +1,12 @@
GstChildProxy GstObject GstChildProxy GstObject
GstTagSetter GstObject GstElement
GstImplementsInterface GstObject GstElement
GstMixer GstObject GstImplementsInterface GstElement
GFile GObject GFile GObject
GDesktopAppInfoLookup GObject GDesktopAppInfoLookup GObject
GDrive GObject GDrive GObject
GMount GObject GMount GObject
GVolume GObject GVolume GObject
GstTuner GstObject GstImplementsInterface GstElement GstTagSetter GstObject GstElement
GstImplementsInterface GstObject GstElement
GstMixer GstObject GstImplementsInterface GstElement
GstXOverlay GstObject GstImplementsInterface GstElement GstXOverlay GstObject GstImplementsInterface GstElement
GstTuner GstObject GstImplementsInterface GstElement
GstColorBalance GstObject GstImplementsInterface GstElement GstColorBalance GstObject GstImplementsInterface GstElement

View file

@ -345,3 +345,76 @@ GstPlayBin2 *gstplaybin2
gint arg1 gint arg1
</SIGNAL> </SIGNAL>
<SIGNAL>
<NAME>GstAppSink::eos</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::new-buffer</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::new-preroll</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::pull-buffer</NAME>
<RETURNS>GstBuffer*</RETURNS>
<FLAGS>la</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::pull-preroll</NAME>
<RETURNS>GstBuffer*</RETURNS>
<FLAGS>la</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::end-of-stream</NAME>
<RETURNS>GstFlowReturn</RETURNS>
<FLAGS>la</FLAGS>
GstAppSrc *gstappsrc
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::enough-data</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSrc *gstappsrc
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::need-data</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSrc *gstappsrc
guint arg1
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::push-buffer</NAME>
<RETURNS>GstFlowReturn</RETURNS>
<FLAGS>la</FLAGS>
GstAppSrc *gstappsrc
GstBuffer *arg1
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::seek-data</NAME>
<RETURNS>gboolean</RETURNS>
<FLAGS>l</FLAGS>
GstAppSrc *gstappsrc
guint64 arg1
</SIGNAL>

View file

@ -0,0 +1,43 @@
<plugin>
<name>app</name>
<description>Elements used to communicate with applications</description>
<filename>../../gst/app/.libs/libgstapp.so</filename>
<basename>libgstapp.so</basename>
<version>0.10.21.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins CVS/prerelease</package>
<origin>Unknown package origin</origin>
<elements>
<element>
<name>appsink</name>
<longname>AppSink</longname>
<class>Generic/Sink</class>
<description>Allow the application to get access to raw buffer</description>
<author>David Schleef &lt;ds@schleef.org&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>ANY</details>
</caps>
</pads>
</element>
<element>
<name>appsrc</name>
<longname>AppSrc</longname>
<class>Generic/Src</class>
<description>Allow the application to feed buffers to a pipeline</description>
<author>David Schleef &lt;ds@schleef.org&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>ANY</details>
</caps>
</pads>
</element>
</elements>
</plugin>

View file

@ -15,6 +15,7 @@ SUBDIRS = \
rtp \ rtp \
rtsp \ rtsp \
sdp \ sdp \
video video \
app
noinst_HEADERS = gettext.h gst-i18n-plugin.h noinst_HEADERS = gettext.h gst-i18n-plugin.h

View file

@ -20,10 +20,25 @@
/** /**
* SECTION:element-appsink * SECTION:element-appsink
*
* Appsink is a sink plugin that supports many different methods for making
* the application get a handle on the GStreamer data in a pipeline. Unlike
* most GStreamer elements, Appsink provides external API functions.
*
* For the documentation of the API, please see the
* <link linkend="gst-plugins-base-libs-appsink">libgstapp</link> section in
* the GStreamer Plugins Base Libraries documentation.
*
*/
/**
* SECTION:gstappsink
* @see_also: #GstBaseSink, appsrc * @see_also: #GstBaseSink, appsrc
* *
* Appsink is a sink plugin that supports many different methods for making * Appsink is a sink plugin that supports many different methods for making
* the application get a handle on the GStreamer data in a pipeline. * the application get a handle on the GStreamer data in a pipeline. Unlike
* most GStreamer elements, Appsink provides external API functions.
* *
* appsink can be used by linking to the gstappsink.h header file to access the * appsink can be used by linking to the gstappsink.h header file to access the
* methods or by using the appsink action signals and properties. * methods or by using the appsink action signals and properties.
@ -841,7 +856,7 @@ gst_app_sink_get_max_buffers (GstAppSink * appsink)
/** /**
* gst_app_sink_set_drop: * gst_app_sink_set_drop:
* @appsink: a #GstAppSink * @appsink: a #GstAppSink
* @emit: the new state * @drop: the new state
* *
* Instruct @appsink to drop old buffers when the maximum amount of queued * Instruct @appsink to drop old buffers when the maximum amount of queued
* buffers is reached. * buffers is reached.

View file

@ -20,13 +20,29 @@
/** /**
* SECTION:element-appsrc * SECTION:element-appsrc
*
* The appsrc element can be used by applications to insert data into a
* GStreamer pipeline. Unlike most GStreamer elements, Appsrc provides
* external API functions.
*
* For the documentation of the API, please see the
* <link linkend="gst-plugins-base-libs-appsrc">libgstapp</link> section in the
* GStreamer Plugins Base Libraries documentation.
*
*/
/**
* SECTION:gstappsrc
* @see_also: #GstBaseSrc, appsink * @see_also: #GstBaseSrc, appsink
* *
* The appsrc element can be used by applications to insert data into a * The appsrc element can be used by applications to insert data into a
* GStreamer pipeline. * GStreamer pipeline. Unlike most GStreamer elements, Appsrc provides
* external API functions.
* *
* appsrc can be used by linking to the gstappsrc.h header file to access the * appsrc can be used by linking to the gstappsrc.h header file to access the
* methods or by using the appsrc action signals. * methods or by using the appsrc action signals. For the API
* documentation, see the documentation for libgstapp in the
* GStreamer Base Plugins Library reference...
* *
* Before operating appsrc, the caps property must be set to a fixed caps * Before operating appsrc, the caps property must be set to a fixed caps
* describing the format of the data that will be pushed with appsrc. * describing the format of the data that will be pushed with appsrc.

View file

@ -4,6 +4,6 @@ else
FT2_SUBDIRS = FT2_SUBDIRS =
endif endif
SUBDIRS = $(FT2_SUBDIRS) volume dynamic SUBDIRS = app $(FT2_SUBDIRS) volume dynamic
DIST_SUBDIRS = seek volume dynamic snapshot DIST_SUBDIRS = app seek volume dynamic snapshot

View file

@ -3,29 +3,29 @@ noinst_PROGRAMS = appsrc_ex appsrc-stream appsrc-stream2 appsrc-ra \
appsrc-seekable appsink-src appsrc-seekable appsink-src
appsrc_ex_SOURCES = appsrc_ex.c appsrc_ex_SOURCES = appsrc_ex.c
appsrc_ex_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS) appsrc_ex_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
appsrc_ex_LDFLAGS = \ appsrc_ex_LDFLAGS = \
$(GST_LIBS) \ $(GST_LIBS) \
$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la
appsrc_stream_SOURCES = appsrc-stream.c appsrc_stream_SOURCES = appsrc-stream.c
appsrc_stream_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS) appsrc_stream_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
appsrc_stream_LDFLAGS = $(GST_LIBS) appsrc_stream_LDFLAGS = $(GST_LIBS)
appsrc_stream2_SOURCES = appsrc-stream2.c appsrc_stream2_SOURCES = appsrc-stream2.c
appsrc_stream2_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS) appsrc_stream2_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
appsrc_stream2_LDFLAGS = $(GST_LIBS) appsrc_stream2_LDFLAGS = $(GST_LIBS)
appsrc_ra_SOURCES = appsrc-ra.c appsrc_ra_SOURCES = appsrc-ra.c
appsrc_ra_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS) appsrc_ra_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
appsrc_ra_LDFLAGS = $(GST_LIBS) appsrc_ra_LDFLAGS = $(GST_LIBS)
appsrc_seekable_SOURCES = appsrc-seekable.c appsrc_seekable_SOURCES = appsrc-seekable.c
appsrc_seekable_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS) appsrc_seekable_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
appsrc_seekable_LDFLAGS = $(GST_LIBS) appsrc_seekable_LDFLAGS = $(GST_LIBS)
appsink_src_SOURCES = appsink-src.c appsink_src_SOURCES = appsink-src.c
appsink_src_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS) appsink_src_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
appsink_src_LDFLAGS = \ appsink_src_LDFLAGS = \
$(GST_LIBS) \ $(GST_LIBS) \
$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la