mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
media-session: rename mod_topic to ms_topic for clarity
This commit is contained in:
parent
bb99f9c71e
commit
0aa09ec801
2 changed files with 5 additions and 5 deletions
|
|
@ -37,8 +37,8 @@
|
||||||
#include <pipewire/pipewire.h>
|
#include <pipewire/pipewire.h>
|
||||||
#include "media-session.h"
|
#include "media-session.h"
|
||||||
|
|
||||||
PW_LOG_TOPIC_EXTERN(mod_topic);
|
PW_LOG_TOPIC_EXTERN(ms_topic);
|
||||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
#define PW_LOG_TOPIC_DEFAULT ms_topic
|
||||||
|
|
||||||
static bool find_match(struct spa_json *arr, struct pw_properties *props)
|
static bool find_match(struct spa_json *arr, struct pw_properties *props)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@
|
||||||
#define SESSION_PREFIX "media-session.d"
|
#define SESSION_PREFIX "media-session.d"
|
||||||
#define SESSION_CONF "media-session.conf"
|
#define SESSION_CONF "media-session.conf"
|
||||||
|
|
||||||
PW_LOG_TOPIC(mod_topic, "ms.core");
|
PW_LOG_TOPIC(ms_topic, "ms.core");
|
||||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
#define PW_LOG_TOPIC_DEFAULT ms_topic
|
||||||
|
|
||||||
#define sm_object_emit(o,m,v,...) spa_hook_list_call(&(o)->hooks, struct sm_object_events, m, v, ##__VA_ARGS__)
|
#define sm_object_emit(o,m,v,...) spa_hook_list_call(&(o)->hooks, struct sm_object_events, m, v, ##__VA_ARGS__)
|
||||||
|
|
||||||
|
|
@ -2454,7 +2454,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
pw_init(&argc, &argv);
|
pw_init(&argc, &argv);
|
||||||
|
|
||||||
PW_LOG_TOPIC_INIT(mod_topic);
|
PW_LOG_TOPIC_INIT(ms_topic);
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, "hVc:v", long_options, NULL)) != -1) {
|
while ((c = getopt_long(argc, argv, "hVc:v", long_options, NULL)) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue