Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1029>
- Loading branch information
Stéphane Cerveau
authored and
GStreamer Marge Bot
committed
Mar 16, 2021
1 parent
f94d9f1
commit 160ba7d
Showing
5 changed files
with
119 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* GStreamer | ||
* Copyright (C) 2007 David Schleef <ds@schleef.org> | ||
* Copyright (C) 2020 Huawei Technologies Co., Ltd. | ||
* @Author: Stéphane Cerveau <scerveau@collabora.com> | ||
* | ||
* 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 Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | ||
*/ | ||
|
||
#ifndef __GST_APP_ELEMENTS_H__ | ||
#define __GST_APP_ELEMENTS_H__ | ||
|
||
#ifdef HAVE_CONFIG_H | ||
#include "config.h" | ||
#endif | ||
|
||
#include <gst/gst.h> | ||
|
||
#include <gst/app/gstappsrc.h> | ||
#include <gst/app/gstappsink.h> | ||
|
||
GST_ELEMENT_REGISTER_DECLARE (appsrc); | ||
GST_ELEMENT_REGISTER_DECLARE (appsink); | ||
|
||
#endif /* __GST_APP_ELEMENTS_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* GStreamer | ||
* Copyright (C) 2007 David Schleef <ds@schleef.org> | ||
* | ||
* 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 | ||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, | ||
* Boston, MA 02110-1301, USA. | ||
*/ | ||
/** | ||
* SECTION:element-appsink | ||
* @title: 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. | ||
*/ | ||
|
||
#include "gstappelements.h" | ||
|
||
GST_ELEMENT_REGISTER_DEFINE (appsink, "appsink", GST_RANK_NONE, | ||
GST_TYPE_APP_SINK); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* GStreamer | ||
* Copyright (C) 2007 David Schleef <ds@schleef.org> | ||
* | ||
* 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 | ||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, | ||
* Boston, MA 02110-1301, USA. | ||
*/ | ||
/** | ||
* SECTION:element-appsrc | ||
* @title: 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. | ||
*/ | ||
|
||
|
||
#include "gstappelements.h" | ||
|
||
GST_ELEMENT_REGISTER_DEFINE (appsrc, "appsrc", GST_RANK_NONE, GST_TYPE_APP_SRC); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters