From: Jan Schmidt Date: Mon, 5 Jan 2009 23:04:57 +0000 (+0000) Subject: Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421 X-Git-Tag: 1.19.3~511^2~10107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08393941a8fcb034ccf983ae97c65314ee3b9d52;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/ChangeLog b/ChangeLog index 4512e04..6cac998 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2009-01-05 Jan Schmidt + + * 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 * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/configure.ac b/configure.ac index 6af3370..d038511 100644 --- a/configure.ac +++ b/configure.ac @@ -294,6 +294,7 @@ dnl *** plug-ins to include *** dnl these are all the gst plug-ins, compilable without additional libs AG_GST_CHECK_PLUGIN(adder) +AG_GST_CHECK_PLUGIN(app) AG_GST_CHECK_PLUGIN(audioconvert) AG_GST_CHECK_PLUGIN(audiorate) AG_GST_CHECK_PLUGIN(audiotestsrc) @@ -647,6 +648,7 @@ Makefile gst-plugins-base.spec gst/Makefile gst/adder/Makefile +gst/app/Makefile gst/audioconvert/Makefile gst/audiorate/Makefile gst/audiotestsrc/Makefile @@ -678,6 +680,7 @@ ext/vorbis/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/audio/Makefile +gst-libs/gst/app/Makefile gst-libs/gst/cdda/Makefile gst-libs/gst/fft/Makefile gst-libs/gst/floatcast/Makefile @@ -724,6 +727,7 @@ pkgconfig/gstreamer-plugins-base-uninstalled.pc tests/Makefile tests/check/Makefile tests/examples/Makefile +tests/examples/app/Makefile tests/examples/dynamic/Makefile tests/examples/seek/Makefile tests/examples/volume/Makefile diff --git a/docs/libs/Makefile.am b/docs/libs/Makefile.am index 8478a88..a8ccdca 100644 --- a/docs/libs/Makefile.am +++ b/docs/libs/Makefile.am @@ -74,7 +74,8 @@ SCANOBJ_DEPS = \ $(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/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. IGNORE_HFILES = diff --git a/docs/libs/gst-plugins-base-libs-docs.sgml b/docs/libs/gst-plugins-base-libs-docs.sgml index 64e0510..7fd7786 100644 --- a/docs/libs/gst-plugins-base-libs-docs.sgml +++ b/docs/libs/gst-plugins-base-libs-docs.sgml @@ -4,6 +4,9 @@ %version-entities; + + + @@ -15,6 +18,7 @@ + @@ -96,6 +100,20 @@ &GstCompiling; + + App Library + + This library should be linked to by getting cflags and libs from + gstreamer-plugins-base-&GST_MAJORMINOR;.pc and adding + -lgstapp-&GST_MAJORMINOR; to the library flags. + + + To use it the functionality, insert an appsrc or appsink element into a pipeline and call the appropriate functions on the element. + + &GstAppSrc; + &GstAppSink; + + Audio Library diff --git a/docs/libs/gst-plugins-base-libs-sections.txt b/docs/libs/gst-plugins-base-libs-sections.txt index 834dc1e..809a72b 100644 --- a/docs/libs/gst-plugins-base-libs-sections.txt +++ b/docs/libs/gst-plugins-base-libs-sections.txt @@ -1,3 +1,64 @@ +# app +
+gstappsrc +appsrc +gst/app/appsrc.h +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 + +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 + +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 +
+ +
+gstappsink +appsink +gst/app/appsink.h +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 + +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 +
# audio diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index 9447861..90f9410 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -119,7 +119,9 @@ EXTRA_HFILES = \ $(top_srcdir)/gst/videotestsrc/gstvideotestsrc.h \ $(top_srcdir)/gst/volume/gstvolume.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. HTML_IMAGES = diff --git a/docs/plugins/gst-plugins-base-plugins-docs.sgml b/docs/plugins/gst-plugins-base-plugins-docs.sgml index 29dec50..5d4c2f1 100644 --- a/docs/plugins/gst-plugins-base-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-base-plugins-docs.sgml @@ -13,6 +13,8 @@ gst-plugins-base Elements + + @@ -64,6 +66,7 @@ gst-plugins-base Plugins + diff --git a/docs/plugins/gst-plugins-base-plugins-sections.txt b/docs/plugins/gst-plugins-base-plugins-sections.txt index 1b6ca8e..b3d87a4 100644 --- a/docs/plugins/gst-plugins-base-plugins-sections.txt +++ b/docs/plugins/gst-plugins-base-plugins-sections.txt @@ -17,6 +17,18 @@ GstAdderInputChannel
+element-appsrc +appsrc +GstAppSrc +
+ +
+element-appsink +appsink +GstAppSink +
+ +
element-alsamixer GstAlsaMixerElement alsamixer diff --git a/docs/plugins/gst-plugins-base-plugins.args b/docs/plugins/gst-plugins-base-plugins.args index 4e2c858..da48aa4 100644 --- a/docs/plugins/gst-plugins-base-plugins.args +++ b/docs/plugins/gst-plugins-base-plugins.args @@ -1369,6 +1369,26 @@ +GstAudioTestSrc::can-activate-pull +gboolean + +rw +Can activate pull +Can activate in pull mode. +FALSE + + + +GstAudioTestSrc::can-activate-push +gboolean + +rw +Can activate push +Can activate in push mode. +TRUE + + + GstVideoScale::method GstVideoScaleMethod @@ -2588,3 +2608,143 @@ "%H:%M:%S" + +GstAppSink::caps +GstCaps* + +rw +Caps +The allowed caps for the sink pad. + + + + +GstAppSink::drop +gboolean + +rw +Drop +Drop old buffers when the buffer queue is filled. +FALSE + + + +GstAppSink::emit-signals +gboolean + +rw +Emit signals +Emit new-preroll and new-buffer signals. +FALSE + + + +GstAppSink::eos +gboolean + +r +EOS +Check if the sink is EOS or not started. +TRUE + + + +GstAppSink::max-buffers +guint + +rw +Max Buffers +The maximum number of buffers to queue internally (0 = unlimited). +0 + + + +GstAppSrc::block +gboolean + +rw +Block +Block push-buffer when max-bytes are queued. +FALSE + + + +GstAppSrc::caps +GstCaps* + +rw +Caps +The allowed caps for the src pad. + + + + +GstAppSrc::format +GstFormat + +rw +Format +The format of the segment events and seek. +GST_FORMAT_BYTES + + + +GstAppSrc::is-live +gboolean + +rw +Is Live +Whether to act as a live source. +FALSE + + + +GstAppSrc::max-bytes +guint64 + +rw +Max bytes +The maximum number of bytes to queue internally (0 = unlimited). +200000 + + + +GstAppSrc::max-latency +gint64 +>= -1 +rw +Max Latency +The maximum latency (-1 = unlimited). +-1 + + + +GstAppSrc::min-latency +gint64 +>= -1 +rw +Min Latency +The minimum latency (-1 = default). +-1 + + + +GstAppSrc::size +gint64 +>= -1 +rw +Size +The size of the data stream in bytes (-1 if unknown). +-1 + + + +GstAppSrc::stream-type +GstAppStreamType + +rw +Stream Type +the type of the stream. +Stream + + diff --git a/docs/plugins/gst-plugins-base-plugins.hierarchy b/docs/plugins/gst-plugins-base-plugins.hierarchy index 79e6e68..2cf86f7 100644 --- a/docs/plugins/gst-plugins-base-plugins.hierarchy +++ b/docs/plugins/gst-plugins-base-plugins.hierarchy @@ -12,14 +12,11 @@ GObject GstPlayBaseBin GstPlayBin GstPlayBin2 - GstDecodeBin GstDecodeBin2 GstURIDecodeBin - GstTextOverlay - GstTimeOverlay - GstClockOverlay - GstTextRender + GstDecodeBin GstBaseSrc + GstGnomeVFSSrc GstPushSrc GstCddaBaseSrc GstCdParanoiaSrc @@ -31,33 +28,37 @@ GObject GstTCPClientSrc GstTCPServerSrc GstVideoTestSrc - GstGnomeVFSSrc GstGioBaseSrc GstGioSrc GstGioStreamSrc GstAudioTestSrc + GstAppSrc GstBaseSink GstGnomeVFSSink - GstBaseAudioSink - GstAudioSink - GstAlsaSink GstGioBaseSink GstGioSink GstGioStreamSink + GstBaseAudioSink + GstAudioSink + GstAlsaSink GstVideoSink - GstXvImageSink GstXImageSink + GstXvImageSink GstTCPClientSink GstMultiFdSink GstTCPServerSink + GstAppSink + GstTheoraDec + GstTheoraEnc + GstTheoraParse GstVorbisEnc GstVorbisDec GstVorbisParse GstVorbisTag - GstAlsaMixerElement - GstTheoraDec - GstTheoraEnc - GstTheoraParse + GstTextOverlay + GstTimeOverlay + GstClockOverlay + GstTextRender GstOggDemux GstOggMux GstOgmParse @@ -66,31 +67,23 @@ GObject GstOgmTextParse GstOggParse GstOggAviParse - GstVisual - GstVisualjess - GstVisualbumpscope - GstVisualcorona - GstVisualinfinite - GstVisualjakdaw - GstVisuallv_analyzer - GstVisuallv_scope - GstVisualoinksie - GstGDPDepay - GstGDPPay - GstStreamSelector - GstQueue2 + GstAlsaMixerElement GstBaseTransform - GstAudioFilter - GstVolume GstFFMpegCsp - GstSpeexResample GstVideoScale GstAudioConvert - GstAdder + GstAudioFilter + GstVolume + GstSpeexResample + GstGDPDepay + GstGDPPay GstVideoRate - GstAudioRate + GstQueue2 + GstStreamSelector GstSubParse GstSsaParse + GstAdder + GstAudioRate GstBus GstTask GstClock @@ -100,10 +93,6 @@ GObject GstRegistry GstRingBuffer GstSignalObject - PangoFontMap - PangoFcFontMap - PangoFT2FontMap - PangoContext LinkConnection GIOPConnection LinkServer @@ -111,12 +100,16 @@ GObject GConfClient GFileMonitor GLocalDirectoryMonitor + GFamDirectoryMonitor GInotifyDirectoryMonitor GLocalFileMonitor + GFamFileMonitor GInotifyFileMonitor GVolumeMonitor GNativeVolumeMonitor - GHalVolumeMonitor + GProxyVolumeMonitor + GProxyVolumeMonitorHal + GProxyVolumeMonitorGPhoto2 GUnixVolumeMonitor GDaemonVolumeMonitor GVfs @@ -127,33 +120,35 @@ GObject GVfsUriMapper GVfsUriMapperSmb GVfsUriMapperHttp - HalDevice - HalPool - GHalDrive - GHalMount - GHalVolume GAppLookupGConf + GProxyDrive + GProxyMount + GProxyVolume GOutputStream GInputStream + PangoFontMap + PangoFcFontMap + PangoFT2FontMap + PangoContext GstTunerNorm GstTunerChannel GstColorBalanceChannel - GstStreamInfo GstMixerTrack + GstStreamInfo GInterface GTypePlugin GstChildProxy GstURIHandler - GstTagSetter - GstImplementsInterface - GstMixer - GstPropertyProbe GFile GDesktopAppInfoLookup GDrive GMount GVolume - GstTuner + GstTagSetter + GstImplementsInterface + GstMixer + GstPropertyProbe + GstNavigation GstXOverlay + GstTuner GstColorBalance - GstNavigation diff --git a/docs/plugins/gst-plugins-base-plugins.interfaces b/docs/plugins/gst-plugins-base-plugins.interfaces index 8ec5c69..c2cbc91 100644 --- a/docs/plugins/gst-plugins-base-plugins.interfaces +++ b/docs/plugins/gst-plugins-base-plugins.interfaces @@ -3,28 +3,29 @@ GstPipeline GstChildProxy GstPlayBaseBin GstChildProxy GstPlayBin GstChildProxy GstPlayBin2 GstChildProxy -GstDecodeBin GstChildProxy GstDecodeBin2 GstChildProxy GstURIDecodeBin GstChildProxy +GstDecodeBin GstChildProxy +GstGnomeVFSSrc GstURIHandler GstCddaBaseSrc GstURIHandler GstCdParanoiaSrc GstURIHandler GstAlsaSrc GstImplementsInterface GstMixer GstPropertyProbe -GstV4lElement GstImplementsInterface GstPropertyProbe GstTuner GstXOverlay GstColorBalance -GstV4lSrc GstImplementsInterface GstPropertyProbe GstTuner GstXOverlay GstColorBalance -GstGnomeVFSSrc GstURIHandler +GstV4lElement GstImplementsInterface GstPropertyProbe GstXOverlay GstTuner GstColorBalance +GstV4lSrc GstImplementsInterface GstPropertyProbe GstXOverlay GstTuner GstColorBalance GstGioSrc GstURIHandler +GstAppSrc GstURIHandler GstGnomeVFSSink GstURIHandler -GstAlsaSink GstPropertyProbe GstGioSink GstURIHandler -GstXvImageSink GstImplementsInterface GstPropertyProbe GstXOverlay GstColorBalance GstNavigation -GstXImageSink GstImplementsInterface GstXOverlay GstNavigation +GstAlsaSink GstPropertyProbe +GstXImageSink GstImplementsInterface GstNavigation GstXOverlay +GstXvImageSink GstImplementsInterface GstPropertyProbe GstNavigation GstXOverlay GstColorBalance GstVorbisEnc GstTagSetter GstVorbisTag GstTagSetter GstAlsaMixerElement GstImplementsInterface GstMixer GstPropertyProbe GstVolume GstImplementsInterface GstMixer GTypeModule GTypePlugin GIOModule GTypePlugin -GHalDrive GDrive -GHalMount GMount -GHalVolume GVolume GAppLookupGConf GDesktopAppInfoLookup +GProxyDrive GDrive +GProxyMount GMount +GProxyVolume GVolume diff --git a/docs/plugins/gst-plugins-base-plugins.prerequisites b/docs/plugins/gst-plugins-base-plugins.prerequisites index abe14e1..b2e3d55 100644 --- a/docs/plugins/gst-plugins-base-plugins.prerequisites +++ b/docs/plugins/gst-plugins-base-plugins.prerequisites @@ -1,12 +1,12 @@ GstChildProxy GstObject -GstTagSetter GstObject GstElement -GstImplementsInterface GstObject GstElement -GstMixer GstObject GstImplementsInterface GstElement GFile GObject GDesktopAppInfoLookup GObject GDrive GObject GMount GObject GVolume GObject -GstTuner GstObject GstImplementsInterface GstElement +GstTagSetter GstObject GstElement +GstImplementsInterface GstObject GstElement +GstMixer GstObject GstImplementsInterface GstElement GstXOverlay GstObject GstImplementsInterface GstElement +GstTuner GstObject GstImplementsInterface GstElement GstColorBalance GstObject GstImplementsInterface GstElement diff --git a/docs/plugins/gst-plugins-base-plugins.signals b/docs/plugins/gst-plugins-base-plugins.signals index 37aa0a4..d7fe59e 100644 --- a/docs/plugins/gst-plugins-base-plugins.signals +++ b/docs/plugins/gst-plugins-base-plugins.signals @@ -345,3 +345,76 @@ GstPlayBin2 *gstplaybin2 gint arg1 + +GstAppSink::eos +void +l +GstAppSink *gstappsink + + + +GstAppSink::new-buffer +void +l +GstAppSink *gstappsink + + + +GstAppSink::new-preroll +void +l +GstAppSink *gstappsink + + + +GstAppSink::pull-buffer +GstBuffer* +la +GstAppSink *gstappsink + + + +GstAppSink::pull-preroll +GstBuffer* +la +GstAppSink *gstappsink + + + +GstAppSrc::end-of-stream +GstFlowReturn +la +GstAppSrc *gstappsrc + + + +GstAppSrc::enough-data +void +l +GstAppSrc *gstappsrc + + + +GstAppSrc::need-data +void +l +GstAppSrc *gstappsrc +guint arg1 + + + +GstAppSrc::push-buffer +GstFlowReturn +la +GstAppSrc *gstappsrc +GstBuffer *arg1 + + + +GstAppSrc::seek-data +gboolean +l +GstAppSrc *gstappsrc +guint64 arg1 + + diff --git a/docs/plugins/inspect/plugin-app.xml b/docs/plugins/inspect/plugin-app.xml new file mode 100644 index 0000000..aa172dc --- /dev/null +++ b/docs/plugins/inspect/plugin-app.xml @@ -0,0 +1,43 @@ + + app + Elements used to communicate with applications + ../../gst/app/.libs/libgstapp.so + libgstapp.so + 0.10.21.1 + LGPL + gst-plugins-base + GStreamer Base Plug-ins CVS/prerelease + Unknown package origin + + + appsink + AppSink + Generic/Sink + Allow the application to get access to raw buffer + David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com> + + + sink + sink + always +
ANY
+
+
+
+ + appsrc + AppSrc + Generic/Src + Allow the application to feed buffers to a pipeline + David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com> + + + src + source + always +
ANY
+
+
+
+
+
\ No newline at end of file diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am index d935ae4..905e7c4 100644 --- a/gst-libs/gst/Makefile.am +++ b/gst-libs/gst/Makefile.am @@ -15,6 +15,7 @@ SUBDIRS = \ rtp \ rtsp \ sdp \ - video + video \ + app noinst_HEADERS = gettext.h gst-i18n-plugin.h diff --git a/gst-libs/gst/app/gstappsink.c b/gst-libs/gst/app/gstappsink.c index 79b1b84..0cebef0 100644 --- a/gst-libs/gst/app/gstappsink.c +++ b/gst-libs/gst/app/gstappsink.c @@ -20,10 +20,25 @@ /** * 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 + * libgstapp section in + * the GStreamer Plugins Base Libraries documentation. + * + */ + + +/** + * SECTION:gstappsink * @see_also: #GstBaseSink, appsrc * * 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 * 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: * @appsink: a #GstAppSink - * @emit: the new state + * @drop: the new state * * Instruct @appsink to drop old buffers when the maximum amount of queued * buffers is reached. diff --git a/gst-libs/gst/app/gstappsrc.c b/gst-libs/gst/app/gstappsrc.c index 2de571d..2dc6890 100644 --- a/gst-libs/gst/app/gstappsrc.c +++ b/gst-libs/gst/app/gstappsrc.c @@ -20,13 +20,29 @@ /** * 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 + * libgstapp section in the + * GStreamer Plugins Base Libraries documentation. + * + */ + +/** + * SECTION:gstappsrc * @see_also: #GstBaseSrc, appsink * * 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 - * 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 * describing the format of the data that will be pushed with appsrc. diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am index 0e1ed8e..e57d47a 100644 --- a/tests/examples/Makefile.am +++ b/tests/examples/Makefile.am @@ -4,6 +4,6 @@ else FT2_SUBDIRS = 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 diff --git a/tests/examples/app/Makefile.am b/tests/examples/app/Makefile.am index 4f3df77..375e27e 100644 --- a/tests/examples/app/Makefile.am +++ b/tests/examples/app/Makefile.am @@ -3,29 +3,29 @@ noinst_PROGRAMS = appsrc_ex appsrc-stream appsrc-stream2 appsrc-ra \ appsrc-seekable appsink-src 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 = \ $(GST_LIBS) \ $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la 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_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_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_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) 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 = \ $(GST_LIBS) \ $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la