From 51597c43382c0b6d9ac8541360f048addc9baddc Mon Sep 17 00:00:00 2001 From: Derek Dai Date: Thu, 20 Apr 2017 21:47:42 +0800 Subject: [PATCH] miracle-dispd: unify log message Change-Id: I17c7cb0c64ddaecd09ff59f65dcb0e745f6b7174 --- src/disp/dispd-encoder.c | 2 -- src/disp/dispd.c | 2 +- src/disp/wfd-out-session.c | 5 +++-- src/disp/wfd-session.c | 2 -- src/disp/wfd-sink.c | 2 -- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/disp/dispd-encoder.c b/src/disp/dispd-encoder.c index ba88261..5f7ecad 100644 --- a/src/disp/dispd-encoder.c +++ b/src/disp/dispd-encoder.c @@ -16,8 +16,6 @@ * You should have received a copy of the GNU Lesser General Public License * along with MiracleCast; If not, see . */ -#define LOG_SUBSYSTEM "dispd-encoder" - #include #include #include diff --git a/src/disp/dispd.c b/src/disp/dispd.c index ae0232b..5435029 100644 --- a/src/disp/dispd.c +++ b/src/disp/dispd.c @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with MiracleCast; If not, see . */ -#define LOG_SUBSYSTEM "wfdctl" +#define LOG_SUBSYSTEM "dispd" #include #include diff --git a/src/disp/wfd-out-session.c b/src/disp/wfd-out-session.c index 552607a..a49cdb0 100644 --- a/src/disp/wfd-out-session.c +++ b/src/disp/wfd-out-session.c @@ -16,18 +16,19 @@ * You should have received a copy of the GNU Lesser General Public License * along with MiracleCast; If not, see . */ -#define LOG_SUBSYSTEM "wfd-session" - #include #include #include #include #include #include +#include #include "wfd-session.h" #include "shl_log.h" +#include "util.h" #include "rtsp.h" #include "ctl.h" +#include "dispd-encoder.h" #define LOCAL_RTP_PORT 16384 #define LOCAL_RTCP_PORT 16385 diff --git a/src/disp/wfd-session.c b/src/disp/wfd-session.c index 29dfb5c..248ac4e 100644 --- a/src/disp/wfd-session.c +++ b/src/disp/wfd-session.c @@ -16,8 +16,6 @@ * You should have received a copy of the GNU Lesser General Public License * along with MiracleCast; If not, see . */ -#define LOG_SUBSYSTEM "wfd-session" - #include #include "ctl.h" #include "rtsp.h" diff --git a/src/disp/wfd-sink.c b/src/disp/wfd-sink.c index b8a7007..07c31ea 100644 --- a/src/disp/wfd-sink.c +++ b/src/disp/wfd-sink.c @@ -16,8 +16,6 @@ * You should have received a copy of the GNU Lesser General Public License * along with MiracleCast; If not, see . */ -#define LOG_SUBSYSTEM "wfd-session" - #include #include #include