2010-12-15 20:14:38 +00:00
|
|
|
/* GStreamer
|
2023-03-31 20:14:19 +00:00
|
|
|
* Copyright 2010 ST-Ericsson SA
|
2010-12-15 20:14:38 +00:00
|
|
|
* @author: Benjamin Gaignard <benjamin.gaignard@stericsson.com>
|
2023-03-31 20:14:19 +00:00
|
|
|
*
|
2010-12-15 20:14:38 +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:38:00 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2010-12-15 20:14:38 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "gstautoconvert.h"
|
2010-12-16 08:56:00 +00:00
|
|
|
#include "gstautovideoconvert.h"
|
2023-04-24 19:54:47 +00:00
|
|
|
#include "gstautovideoflip.h"
|
2023-03-31 20:14:19 +00:00
|
|
|
#include "gstautodeinterlace.h"
|
2010-12-15 20:14:38 +00:00
|
|
|
|
|
|
|
static gboolean
|
|
|
|
plugin_init (GstPlugin * plugin)
|
|
|
|
{
|
2021-02-25 14:22:15 +00:00
|
|
|
gboolean ret = FALSE;
|
2010-12-15 20:14:38 +00:00
|
|
|
|
2021-02-25 14:22:15 +00:00
|
|
|
ret |= GST_ELEMENT_REGISTER (autoconvert, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (autovideoconvert, plugin);
|
2023-03-31 20:14:19 +00:00
|
|
|
ret |= GST_ELEMENT_REGISTER (autodeinterlace, plugin);
|
2023-04-24 19:54:47 +00:00
|
|
|
ret |= GST_ELEMENT_REGISTER (autovideoflip, plugin);
|
2024-01-12 11:00:31 +00:00
|
|
|
gst_type_mark_as_plugin_api (GST_TYPE_BASE_AUTO_CONVERT, 0);
|
2010-12-15 20:14:38 +00:00
|
|
|
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2012-04-05 16:02:56 +00:00
|
|
|
autoconvert,
|
2019-09-02 19:08:44 +00:00
|
|
|
"Selects converter element based on caps",
|
2010-12-15 20:14:38 +00:00
|
|
|
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|