2 * Copyright (C) 2007 David Schleef <ds@schleef.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 * SECTION:element-appsrc
22 * The appsrc element can be used by applications to insert data into a
23 * GStreamer pipeline. Unlike most GStreamer elements, Appsrc provides
24 * external API functions.
26 * For the documentation of the API, please see the
27 * <link linkend="gst-plugins-base-libs-appsrc">libgstapp</link> section in the
28 * GStreamer Plugins Base Libraries documentation.
33 * SECTION:element-appsink
35 * Appsink is a sink plugin that supports many different methods for making
36 * the application get a handle on the GStreamer data in a pipeline. Unlike
37 * most GStreamer elements, Appsink provides external API functions.
39 * For the documentation of the API, please see the
40 * <link linkend="gst-plugins-base-libs-appsink">libgstapp</link> section in
41 * the GStreamer Plugins Base Libraries documentation.
52 #include <gst/app/gstappsrc.h>
53 #include <gst/app/gstappsink.h>
56 plugin_init (GstPlugin * plugin)
58 gst_element_register (plugin, "appsrc", GST_RANK_NONE, GST_TYPE_APP_SRC);
59 gst_element_register (plugin, "appsink", GST_RANK_NONE, GST_TYPE_APP_SINK);
64 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
67 "Elements used to communicate with applications",
68 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)