media-session: rename mod_topic to ms_topic for clarity

This commit is contained in:
Peter Hutterer 2021-09-30 10:38:18 +10:00 committed by Wim Taymans
parent bb99f9c71e
commit 0aa09ec801
2 changed files with 5 additions and 5 deletions

View file

@ -37,8 +37,8 @@
#include <pipewire/pipewire.h>
#include "media-session.h"
PW_LOG_TOPIC_EXTERN(mod_topic);
#define PW_LOG_TOPIC_DEFAULT mod_topic
PW_LOG_TOPIC_EXTERN(ms_topic);
#define PW_LOG_TOPIC_DEFAULT ms_topic
static bool find_match(struct spa_json *arr, struct pw_properties *props)
{

View file

@ -66,8 +66,8 @@
#define SESSION_PREFIX "media-session.d"
#define SESSION_CONF "media-session.conf"
PW_LOG_TOPIC(mod_topic, "ms.core");
#define PW_LOG_TOPIC_DEFAULT mod_topic
PW_LOG_TOPIC(ms_topic, "ms.core");
#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__)
@ -2454,7 +2454,7 @@ int main(int argc, char *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) {
switch (c) {