Merge pull request #400 in FS/freeswitch from ~BRADLEYJOKINEN/freeswitch:FS-7983 to master

* commit '723e8a1f9a899564b89e70d5e6c4a8799413579b':
  FS-7983 Added param for specifying video encoding speed
This commit is contained in:
Mike Jerris
2015-09-01 12:58:34 -05:00
3 changed files with 35 additions and 0 deletions
+8
View File
@@ -298,6 +298,13 @@ struct switch_file_interface {
struct switch_file_interface *next;
};
typedef enum {
SWITCH_VIDEO_ENCODE_SPEED_DEFAULT;
SWITCH_VIDEO_ENCODE_SPEED_SLOW,
SWITCH_VIDEO_ENCODE_SPEED_MEDIUM,
SWITCH_VIDEO_ENCODE_SPEED_FAST
} switch_video_encode_speed_t;
typedef struct switch_mm_s {
int samplerate;
int channels;
@@ -308,6 +315,7 @@ typedef struct switch_mm_s {
int vh;
float fps;
int vbuf;
switch_video_encode_speed_t vencspd;
} switch_mm_t;
/*! an abstract representation of a file handle (some parameters based on compat with libsndfile) */