[Build-System] Fix switch_packetizer headers and add it to the build.

This commit is contained in:
Andrey Volk 2020-06-08 22:34:55 +04:00
parent 465344e8e3
commit 07884e20a2
6 changed files with 5 additions and 4 deletions

View File

@ -300,6 +300,7 @@ library_include_HEADERS = \
src/include/switch_dso.h \
src/include/switch_loadable_module.h \
src/include/switch_module_interfaces.h \
src/include/switch_packetizer.h \
src/include/switch_platform.h \
src/include/switch_resample.h \
src/include/switch_regex.h \

View File

@ -136,6 +136,7 @@
#include "switch_core_event_hook.h"
#include "switch_scheduler.h"
#include "switch_config.h"
#include "switch_packetizer.h"
#include "switch_nat.h"
#include "switch_odbc.h"
#include "switch_json.h"

View File

@ -29,8 +29,6 @@
*
*/
#include <switch.h>
#ifndef SWITCH_PACKETIZER_H
#define SWITCH_PACKETIZER_H

View File

@ -54,7 +54,6 @@ GCC_DIAG_OFF(deprecated-declarations)
#include <libswresample/swresample.h>
#endif
#include <switch_packetizer.h>
#define SLICE_SIZE (SWITCH_DEFAULT_VIDEO_SIZE + 100)
GCC_DIAG_ON(deprecated-declarations)

View File

@ -29,7 +29,7 @@
*
*/
#include <switch_packetizer.h>
#include <switch.h>
#define MAX_NALUS 256
typedef struct our_h264_nalu_s {

View File

@ -400,6 +400,7 @@ if not exist "$(OutDir)fonts" xcopy "$(SolutionDir)fonts\*.*" "$(OutDir)fonts\"
<ClCompile Include="..\..\src\switch_odbc.c" />
<ClCompile Include="..\..\src\switch_pcm.c" />
<ClCompile Include="..\..\src\switch_speex.c" />
<ClCompile Include="..\..\src\switch_packetizer.c" />
<ClCompile Include="..\..\src\switch_profile.c" />
<ClCompile Include="..\..\src\switch_regex.c" />
<ClCompile Include="..\..\src\switch_resample.c" />
@ -735,6 +736,7 @@ if not exist "$(OutDir)fonts" xcopy "$(SolutionDir)fonts\*.*" "$(OutDir)fonts\"
<ClInclude Include="..\..\src\include\switch_module_interfaces.h" />
<ClInclude Include="..\..\src\include\switch_mprintf.h" />
<ClInclude Include="..\..\src\include\switch_odbc.h" />
<ClInclude Include="..\..\src\include\switch_packetizer.h" />
<ClInclude Include="..\..\src\include\switch_platform.h" />
<ClInclude Include="..\..\src\include\switch_regex.h" />
<ClInclude Include="..\..\src\include\switch_resample.h" />