FS-7519: add automistake for mod_av
This commit is contained in:
parent
8a56d8a086
commit
2e1bdfb24a
|
@ -1658,6 +1658,7 @@ AC_CONFIG_FILES([Makefile
|
||||||
src/mod/xml_int/mod_xml_radius/Makefile
|
src/mod/xml_int/mod_xml_radius/Makefile
|
||||||
src/mod/xml_int/mod_xml_rpc/Makefile
|
src/mod/xml_int/mod_xml_rpc/Makefile
|
||||||
src/mod/xml_int/mod_xml_scgi/Makefile
|
src/mod/xml_int/mod_xml_scgi/Makefile
|
||||||
|
src/mod/applications/mod_av/Makefile
|
||||||
src/include/switch_am_config.h
|
src/include/switch_am_config.h
|
||||||
build/getsounds.sh
|
build/getsounds.sh
|
||||||
build/getlib.sh
|
build/getlib.sh
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
include $(top_srcdir)/build/modmake.rulesam
|
||||||
|
MODNAME=mod_av
|
||||||
|
|
||||||
|
mod_LTLIBRARIES = mod_av.la
|
||||||
|
mod_av_la_SOURCES = mod_av.c
|
||||||
|
mod_av_la_CFLAGS = $(AM_CFLAGS)
|
||||||
|
mod_av_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||||
|
mod_av_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lavformat -lavcodec
|
|
@ -830,13 +830,20 @@ static void print_codecs_for_id(switch_stream_handle_t *stream, enum AVCodecID i
|
||||||
|
|
||||||
static int is_device(const AVClass *avclass)
|
static int is_device(const AVClass *avclass)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (!avclass) return 0;
|
if (!avclass) return 0;
|
||||||
|
|
||||||
|
|
||||||
return avclass->category == AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT ||
|
return avclass->category == AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT ||
|
||||||
avclass->category == AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT ||
|
avclass->category == AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT ||
|
||||||
avclass->category == AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT ||
|
avclass->category == AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT ||
|
||||||
avclass->category == AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT ||
|
avclass->category == AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT ||
|
||||||
avclass->category == AV_CLASS_CATEGORY_DEVICE_OUTPUT ||
|
avclass->category == AV_CLASS_CATEGORY_DEVICE_OUTPUT ||
|
||||||
avclass->category == AV_CLASS_CATEGORY_DEVICE_INPUT;
|
avclass->category == AV_CLASS_CATEGORY_DEVICE_INPUT;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void show_formats(switch_stream_handle_t *stream) {
|
void show_formats(switch_stream_handle_t *stream) {
|
||||||
|
|
Loading…
Reference in New Issue