mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-16 22:05:31 -05:00
Rename pulsevideo to pinos
This commit is contained in:
parent
b68b62740c
commit
4b72848a1a
47 changed files with 356 additions and 369 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "client/pulsevideo.h"
|
||||
#include "client/pinos.h"
|
||||
|
||||
#include "gst/gstfdpay.h"
|
||||
#include "gst/gstfddepay.h"
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
* @argc: pointer to argc
|
||||
* @argv: pointer to argv
|
||||
*
|
||||
* initialize the pulsevideo system, parse and modify any parameters given
|
||||
* initialize the pinos system, parse and modify any parameters given
|
||||
* by @argc and @argv.
|
||||
*/
|
||||
void
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -17,21 +17,20 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __PULSEVIDEO_H__
|
||||
#define __PULSEVIDEO_H__
|
||||
#ifndef __PINOS_H__
|
||||
#define __PINOS_H__
|
||||
|
||||
#include <client/pv-stream.h>
|
||||
#include <client/pv-context.h>
|
||||
#include <client/pv-subscribe.h>
|
||||
#include <client/pv-introspect.h>
|
||||
|
||||
#define PV_DBUS_SERVICE "org.pulsevideo"
|
||||
#define PV_DBUS_OBJECT_PREFIX "/org/pulsevideo"
|
||||
#define PV_DBUS_SERVICE "org.pinos"
|
||||
#define PV_DBUS_OBJECT_PREFIX "/org/pinos"
|
||||
#define PV_DBUS_OBJECT_SERVER PV_DBUS_OBJECT_PREFIX "/server"
|
||||
#define PV_DBUS_OBJECT_SOURCE PV_DBUS_OBJECT_PREFIX "/source"
|
||||
#define PV_DBUS_OBJECT_CLIENT PV_DBUS_OBJECT_PREFIX "/client"
|
||||
|
||||
void pv_init (int *argc, char **argv[]);
|
||||
|
||||
#endif /* __PULSEVIDEO_H__ */
|
||||
|
||||
#endif /* __PINOS_H__ */
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "client/pulsevideo.h"
|
||||
#include "client/pinos.h"
|
||||
|
||||
#include "client/pv-context.h"
|
||||
#include "client/pv-enumtypes.h"
|
||||
|
|
@ -372,7 +372,7 @@ on_client_connected (GObject *source_object,
|
|||
pv_subscribe_get_proxy (priv->subscribe,
|
||||
PV_DBUS_SERVICE,
|
||||
client_path,
|
||||
"org.pulsevideo.Client1",
|
||||
"org.pinos.Client1",
|
||||
NULL,
|
||||
on_client_proxy,
|
||||
context);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -77,7 +77,7 @@ typedef enum {
|
|||
/**
|
||||
* PvContext:
|
||||
*
|
||||
* Pulsevideo context object class.
|
||||
* Pinos context object class.
|
||||
*/
|
||||
struct _PvContext {
|
||||
GObject object;
|
||||
|
|
@ -88,7 +88,7 @@ struct _PvContext {
|
|||
/**
|
||||
* PvContextClass:
|
||||
*
|
||||
* Pulsevideo context object class.
|
||||
* Pinos context object class.
|
||||
*/
|
||||
struct _PvContextClass {
|
||||
GObjectClass parent_class;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "client/pulsevideo.h"
|
||||
#include "client/pinos.h"
|
||||
|
||||
#include "client/pv-context.h"
|
||||
#include "client/pv-enumtypes.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
#include <gio/gunixfdlist.h>
|
||||
|
||||
#include "server/pv-daemon.h"
|
||||
#include "client/pulsevideo.h"
|
||||
#include "client/pinos.h"
|
||||
#include "client/pv-context.h"
|
||||
#include "client/pv-stream.h"
|
||||
#include "client/pv-enumtypes.h"
|
||||
|
|
@ -498,7 +498,7 @@ on_source_output_created (GObject *source_object,
|
|||
pv_subscribe_get_proxy (context->priv->subscribe,
|
||||
PV_DBUS_SERVICE,
|
||||
source_output_path,
|
||||
"org.pulsevideo.SourceOutput1",
|
||||
"org.pinos.SourceOutput1",
|
||||
NULL,
|
||||
on_source_output_proxy,
|
||||
stream);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -72,7 +72,7 @@ typedef enum {
|
|||
/**
|
||||
* PvStream:
|
||||
*
|
||||
* Pulsevideo stream object class.
|
||||
* Pinos stream object class.
|
||||
*/
|
||||
struct _PvStream {
|
||||
GObject object;
|
||||
|
|
@ -83,7 +83,7 @@ struct _PvStream {
|
|||
/**
|
||||
* PvStreamClass:
|
||||
*
|
||||
* Pulsevideo stream object class.
|
||||
* Pinos stream object class.
|
||||
*/
|
||||
struct _PvStreamClass {
|
||||
GObjectClass parent_class;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include "client/pulsevideo.h"
|
||||
#include "client/pinos.h"
|
||||
#include "client/pv-enumtypes.h"
|
||||
|
||||
struct _PvSubscribePrivate
|
||||
|
|
@ -94,16 +94,16 @@ notify_event (PvSubscribe *subscribe,
|
|||
PvSubscriptionFlags flags = 0;
|
||||
|
||||
interface_name = g_dbus_proxy_get_interface_name (data->proxy);
|
||||
if (g_strcmp0 (interface_name, "org.pulsevideo.Daemon1") == 0) {
|
||||
if (g_strcmp0 (interface_name, "org.pinos.Daemon1") == 0) {
|
||||
flags = PV_SUBSCRIPTION_FLAGS_DAEMON;
|
||||
}
|
||||
else if (g_strcmp0 (interface_name, "org.pulsevideo.Client1") == 0) {
|
||||
else if (g_strcmp0 (interface_name, "org.pinos.Client1") == 0) {
|
||||
flags = PV_SUBSCRIPTION_FLAGS_CLIENT;
|
||||
}
|
||||
else if (g_strcmp0 (interface_name, "org.pulsevideo.Source1") == 0) {
|
||||
else if (g_strcmp0 (interface_name, "org.pinos.Source1") == 0) {
|
||||
flags = PV_SUBSCRIPTION_FLAGS_SOURCE;
|
||||
}
|
||||
else if (g_strcmp0 (interface_name, "org.pulsevideo.SourceOutput1") == 0) {
|
||||
else if (g_strcmp0 (interface_name, "org.pinos.SourceOutput1") == 0) {
|
||||
flags = PV_SUBSCRIPTION_FLAGS_SOURCE_OUTPUT;
|
||||
}
|
||||
g_signal_emit (subscribe, signals[SIGNAL_SUBSCRIPTION_EVENT], 0,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Pulsevideo
|
||||
/* Pinos
|
||||
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
|
@ -62,7 +62,7 @@ typedef enum {
|
|||
/**
|
||||
* PvSubscribe:
|
||||
*
|
||||
* Pulsevideo subscribe object class.
|
||||
* Pinos subscribe object class.
|
||||
*/
|
||||
struct _PvSubscribe {
|
||||
GObject object;
|
||||
|
|
@ -73,7 +73,7 @@ struct _PvSubscribe {
|
|||
/**
|
||||
* PvSubscribeClass:
|
||||
*
|
||||
* Pulsevideo subscribe object class.
|
||||
* Pinos subscribe object class.
|
||||
*/
|
||||
struct _PvSubscribeClass {
|
||||
GObjectClass parent_class;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue