2000-12-29 05:38:06 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
* 2000 Wim Taymans <wtay@chello.be>
|
|
|
|
*
|
2001-03-07 21:52:56 +00:00
|
|
|
* gstelements.c:
|
2000-01-30 09:03:00 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-03 20:44:48 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2000-01-30 09:03:00 +00:00
|
|
|
*/
|
2018-10-22 06:14:11 +00:00
|
|
|
/**
|
|
|
|
* plugin-coreelements:
|
|
|
|
*
|
|
|
|
* GStreamer core elements
|
|
|
|
*/
|
2000-01-30 09:03:00 +00:00
|
|
|
|
2003-06-29 14:05:49 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2000-01-30 09:03:00 +00:00
|
|
|
#include <gst/gst.h>
|
|
|
|
|
docs/: Correct fixxrefs options.
Original commit message from CVS:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
Correct fixxrefs options.
* docs/plugins/Makefile.am:
* docs/plugins/gstreamer-plugins-docs.sgml:
* docs/plugins/gstreamer-plugins-sections.txt:
* plugins/elements/Makefile.am:
* plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
* plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
_GstCapsFilterClass, trans_class):
* plugins/elements/gstelements.c (name, rank, type, _elements):
* plugins/elements/gstidentity.c
(gst_identity_check_imperfect_timestamp,
gst_identity_check_imperfect_offset):
Document capsfilter and add doc-blurb to identity.
2007-05-06 18:27:25 +00:00
|
|
|
#include "gstcapsfilter.h"
|
2020-02-24 17:47:35 +00:00
|
|
|
#include "gstclocksync.h"
|
2014-08-07 12:42:44 +00:00
|
|
|
#include "gstconcat.h"
|
2016-11-28 11:07:20 +00:00
|
|
|
#include "gstdataurisrc.h"
|
2014-02-21 15:32:52 +00:00
|
|
|
#include "gstdownloadbuffer.h"
|
2001-01-18 23:46:15 +00:00
|
|
|
#include "gstfakesink.h"
|
|
|
|
#include "gstfakesrc.h"
|
check/elements/identity.c: Make the error a little clearer when the test fails because identity made a copy of the bu...
Original commit message from CVS:
* check/elements/identity.c: (GST_START_TEST):
Make the error a little clearer when the test fails because
identity made a copy of the buffer.
* docs/gst/gstreamer-sections.txt:
New symbols in gstbasetransform.h
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
(gst_base_transform_init), (gst_base_transform_transform_size),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_default_prepare_buf),
(gst_base_transform_get_unit_size),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
(gst_base_transform_change_state),
(gst_base_transform_set_passthrough),
(gst_base_transform_set_in_place),
(gst_base_transform_is_in_place):
* gst/base/gstbasetransform.h:
Change BaseTransform to separate in_place operate from same_caps
output. in_place implies that the element can perform the transform
on incoming buffers in-place, even if the caps on the output are
different.
Sub-class elements can now implement special buffer allocation
methods for outgoing buffers if they wish to.
Big documentation addition.
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
* gst/elements/gstelements.c:
Changes for basetransform modifications.
* gst/elements/Makefile.am:
* gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
Compile fix. Extra debug output.
2005-09-09 17:42:20 +00:00
|
|
|
#include "gstfdsrc.h"
|
plugins/elements/:
Original commit message from CVS:
* plugins/elements/Makefile.am:
* plugins/elements/gstelements.c:
* plugins/elements/gstfdsink.c: (_do_init),
(gst_fd_sink_base_init), (gst_fd_sink_class_init),
(gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
(gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
(gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
(gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
(gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
(gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
* plugins/elements/gstfdsink.h:
Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
2006-01-30 21:57:00 +00:00
|
|
|
#include "gstfdsink.h"
|
2003-10-28 20:25:30 +00:00
|
|
|
#include "gstfilesink.h"
|
|
|
|
#include "gstfilesrc.h"
|
2011-03-29 08:42:31 +00:00
|
|
|
#include "gstfunnel.h"
|
2003-10-28 20:25:30 +00:00
|
|
|
#include "gstidentity.h"
|
2010-12-30 18:57:13 +00:00
|
|
|
#include "gstinputselector.h"
|
|
|
|
#include "gstoutputselector.h"
|
2010-12-30 00:22:38 +00:00
|
|
|
#include "gstmultiqueue.h"
|
2005-11-29 19:47:00 +00:00
|
|
|
#include "gstqueue.h"
|
2009-10-29 10:30:11 +00:00
|
|
|
#include "gstqueue2.h"
|
2003-10-28 20:25:30 +00:00
|
|
|
#include "gsttee.h"
|
2004-04-29 00:32:28 +00:00
|
|
|
#include "gsttypefindelement.h"
|
2010-12-30 00:22:38 +00:00
|
|
|
#include "gstvalve.h"
|
2014-03-04 10:40:05 +00:00
|
|
|
#include "gststreamiddemux.h"
|
2000-01-30 09:03:00 +00:00
|
|
|
|
2001-04-22 12:30:14 +00:00
|
|
|
static gboolean
|
2004-03-13 15:27:01 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2000-11-25 14:18:47 +00:00
|
|
|
{
|
2012-07-14 19:28:54 +00:00
|
|
|
if (!gst_element_register (plugin, "capsfilter", GST_RANK_NONE,
|
|
|
|
gst_capsfilter_get_type ()))
|
|
|
|
return FALSE;
|
2020-02-24 17:47:35 +00:00
|
|
|
if (!gst_element_register (plugin, "clocksync", GST_RANK_NONE,
|
|
|
|
gst_clock_sync_get_type ()))
|
|
|
|
return FALSE;
|
2014-08-07 12:42:44 +00:00
|
|
|
if (!gst_element_register (plugin, "concat", GST_RANK_NONE,
|
|
|
|
gst_concat_get_type ()))
|
|
|
|
return FALSE;
|
2016-11-28 11:07:20 +00:00
|
|
|
if (!gst_element_register (plugin, "dataurisrc", GST_RANK_PRIMARY,
|
|
|
|
gst_data_uri_src_get_type ()))
|
|
|
|
return FALSE;
|
2014-02-21 15:32:52 +00:00
|
|
|
if (!gst_element_register (plugin, "downloadbuffer", GST_RANK_NONE,
|
|
|
|
gst_download_buffer_get_type ()))
|
|
|
|
return FALSE;
|
2012-07-14 19:28:54 +00:00
|
|
|
if (!gst_element_register (plugin, "fakesrc", GST_RANK_NONE,
|
|
|
|
gst_fake_src_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "fakesink", GST_RANK_NONE,
|
|
|
|
gst_fake_sink_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
#if defined(HAVE_SYS_SOCKET_H) || defined(_MSC_VER)
|
|
|
|
if (!gst_element_register (plugin, "fdsrc", GST_RANK_NONE,
|
|
|
|
gst_fd_src_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "fdsink", GST_RANK_NONE,
|
|
|
|
gst_fd_sink_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
#endif
|
|
|
|
if (!gst_element_register (plugin, "filesrc", GST_RANK_PRIMARY,
|
|
|
|
gst_file_src_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "funnel", GST_RANK_NONE,
|
|
|
|
gst_funnel_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "identity", GST_RANK_NONE,
|
|
|
|
gst_identity_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "input-selector", GST_RANK_NONE,
|
|
|
|
gst_input_selector_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "output-selector", GST_RANK_NONE,
|
|
|
|
gst_output_selector_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "queue", GST_RANK_NONE,
|
|
|
|
gst_queue_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "queue2", GST_RANK_NONE,
|
|
|
|
gst_queue2_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "filesink", GST_RANK_PRIMARY,
|
|
|
|
gst_file_sink_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "tee", GST_RANK_NONE, gst_tee_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "typefind", GST_RANK_NONE,
|
|
|
|
gst_type_find_element_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "multiqueue", GST_RANK_NONE,
|
|
|
|
gst_multi_queue_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
if (!gst_element_register (plugin, "valve", GST_RANK_NONE,
|
|
|
|
gst_valve_get_type ()))
|
|
|
|
return FALSE;
|
2000-01-30 09:03:00 +00:00
|
|
|
|
2014-03-04 10:40:05 +00:00
|
|
|
if (!gst_element_register (plugin, "streamiddemux", GST_RANK_PRIMARY,
|
|
|
|
gst_streamid_demux_get_type ()))
|
|
|
|
return FALSE;
|
|
|
|
|
2001-04-22 12:30:14 +00:00
|
|
|
return TRUE;
|
2000-01-30 09:03:00 +00:00
|
|
|
}
|
2001-04-22 12:30:14 +00:00
|
|
|
|
2012-07-14 19:28:54 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, coreelements,
|
2012-11-06 16:58:04 +00:00
|
|
|
"GStreamer core elements", plugin_init, VERSION, GST_LICENSE,
|
2012-07-14 19:28:54 +00:00
|
|
|
GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
|