mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
|
|
@ -20,8 +20,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include <client/pv-context.h>
|
||||
#include <client/pv-stream.h>
|
||||
#include <client/pulsevideo.h>
|
||||
|
||||
#define CAPS "video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1"
|
||||
|
||||
|
|
@ -112,7 +111,7 @@ main (gint argc, gchar *argv[])
|
|||
{
|
||||
PvContext *c;
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
pv_init (&argc, &argv);
|
||||
|
||||
loop = g_main_loop_new (NULL, FALSE);
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
#include <client/pv-context.h>
|
||||
#include <client/pv-subscribe.h>
|
||||
#include <client/pulsevideo.h>
|
||||
|
||||
static GMainLoop *loop;
|
||||
|
||||
|
|
@ -60,7 +59,7 @@ main (gint argc, gchar *argv[])
|
|||
{
|
||||
PvContext *c;
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
pv_init (&argc, &argv);
|
||||
|
||||
loop = g_main_loop_new (NULL, FALSE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue