FS-7500: use SWITCH_DEFAULT_VIDEO_SIZE as slice size

This commit is contained in:
Seven Du authored and Michael Jerris committed 2015-05-28 12:46:46 -05:00
1 parent 3c7fc85a31
commit aa654da777
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@
#define FPS 20.0f // frame rate
#define H264_NALU_BUFFER_SIZE 65536
#define MAX_NALUS 100
#define SLICE_SIZE 1200 //NALU Slice Size
#define SLICE_SIZE SWITCH_DEFAULT_VIDEO_SIZE //NALU Slice Size
SWITCH_MODULE_LOAD_FUNCTION(mod_openh264_load);
SWITCH_MODULE_DEFINITION(mod_openh264, mod_openh264_load, NULL, NULL);
+1 -1
View File
@@ -39,7 +39,7 @@
#include <vpx/vp8.h>
#define FPS 15
#define SLICE_SIZE 1200
#define SLICE_SIZE SWITCH_DEFAULT_VIDEO_SIZE
#define KEY_FRAME_MIN_FREQ 1000000
SWITCH_MODULE_LOAD_FUNCTION(mod_vpx_load);