Browse Source

TT#14008 fix no-transcoding compilation

fix for 206ea9efd5

closes #1537

Change-Id: Ie5312334931c6e4e057e0097347998d47f2524b6
(cherry picked from commit 02adda7846)
mr10.5.2
Richard Fuchs 3 years ago
parent
commit
1d866fd22c
4 changed files with 8 additions and 1 deletions
  1. +2
    -0
      daemon/call_interfaces.c
  2. +2
    -0
      daemon/codec.c
  3. +2
    -0
      daemon/media_player.c
  4. +2
    -1
      lib/common.Makefile

+ 2
- 0
daemon/call_interfaces.c View File

@ -1048,6 +1048,7 @@ static void call_ng_codec_flags(struct sdp_ng_flags *out, str *key, bencode_item
#endif
ilog(LOG_WARN, "Unknown 'codec' operation encountered: '" STR_FORMAT "'", STR_FMT(key));
}
#ifdef WITH_TRANSCODING
static void call_ng_parse_block_mode(str *s, enum block_dtmf_mode *output) {
switch (__csh_lookup(s)) {
case CSH_LOOKUP("off"):
@ -1077,6 +1078,7 @@ static void call_ng_parse_block_mode(str *s, enum block_dtmf_mode *output) {
STR_FMT(s));
}
}
#endif
static void call_ng_main_flags(struct sdp_ng_flags *out, str *key, bencode_item_t *value) {
str s = STR_NULL;
bencode_item_t *it;


+ 2
- 0
daemon/codec.c View File

@ -17,7 +17,9 @@
#include "timerthread.h"
#include "log_funcs.h"
#include "mqtt.h"
#ifdef WITH_TRANSCODING
#include "fix_frame_channel_layout.h"
#endif


+ 2
- 0
daemon/media_player.c View File

@ -16,7 +16,9 @@
#include "log_funcs.h"
#include "main.h"
#include "rtcp.h"
#ifdef WITH_TRANSCODING
#include "fix_frame_channel_layout.h"
#endif


+ 2
- 1
lib/common.Makefile View File

@ -34,10 +34,11 @@ $(DAEMONSRCS) $(HASHSRCS): $(patsubst %,../daemon/%,$(DAEMONSRCS)) $(patsubst %,
--release="$(RTPENGINE_VERSION)" \
$< $@
resample.c media_player.c codec.c codeclib.c mix.c: fix_frame_channel_layout.h
resample.c codeclib.c mix.c: fix_frame_channel_layout.h
ifeq ($(with_transcoding),yes)
codec.c: dtmf_rx_fillin.h
media_player.c codec.c: fix_frame_channel_layout.h
endif
t38.c: spandsp_logging.h


Loading…
Cancel
Save