mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
pulsevideo: add gstreamer elements
Add custom gstreamer elements to pad/depay Add pv_init() to register new elements
This commit is contained in:
parent
3ddd7a60a7
commit
8b02c9040a
14 changed files with 898 additions and 14 deletions
33
src/client/pulsevideo.c
Normal file
33
src/client/pulsevideo.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* Pulsevideo
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.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.
|
||||
*/
|
||||
|
||||
#include "client/pulsevideo.h"
|
||||
|
||||
#include "gst/gstfdpay.h"
|
||||
#include "gst/gstfddepay.h"
|
||||
|
||||
void
|
||||
pv_init (int *argc, char **argv[])
|
||||
{
|
||||
gst_init (argc, argv);
|
||||
|
||||
gst_element_register (NULL, "pvfdpay", GST_RANK_NONE, GST_TYPE_FDPAY);
|
||||
gst_element_register (NULL, "pvfddepay", GST_RANK_NONE, GST_TYPE_FDDEPAY);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue