FS-8240 add video profile param for recording 264 and make it default

This commit is contained in:
Anthony Minessale
2015-09-30 11:42:40 -05:00
parent e7cbb77e54
commit 32b43866f8
3 changed files with 52 additions and 12 deletions
+8
View File
@@ -305,6 +305,12 @@ typedef enum {
SWITCH_VIDEO_ENCODE_SPEED_FAST
} switch_video_encode_speed_t;
typedef enum {
SWITCH_VIDEO_PROFILE_BASELINE,
SWITCH_VIDEO_PROFILE_MAIN,
SWITCH_VIDEO_PROFILE_HIGH
} switch_video_profile_t;
typedef struct switch_mm_s {
int samplerate;
int channels;
@@ -314,7 +320,9 @@ typedef struct switch_mm_s {
int vw;
int vh;
float fps;
float source_fps;
int vbuf;
switch_video_profile_t vprofile;
switch_video_encode_speed_t vencspd;
} switch_mm_t;