diff options
Diffstat (limited to 'toxav/video.c')
-rw-r--r-- | toxav/video.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/toxav/video.c b/toxav/video.c index 9aba27ed..de028c7c 100644 --- a/toxav/video.c +++ b/toxav/video.c | |||
@@ -77,9 +77,11 @@ VCSession *vc_new(Logger *log, ToxAV *av, uint32_t friend_number, toxav_video_re | |||
77 | cfg.g_w = 800; | 77 | cfg.g_w = 800; |
78 | cfg.g_h = 600; | 78 | cfg.g_h = 600; |
79 | cfg.g_pass = VPX_RC_ONE_PASS; | 79 | cfg.g_pass = VPX_RC_ONE_PASS; |
80 | /* FIXME If we set error resilience the app will crash due to bug in vp8. | 80 | /* TODO(mannol): If we set error resilience the app will crash due to bug in vp8. |
81 | Perhaps vp9 has solved it?*/ | 81 | Perhaps vp9 has solved it?*/ |
82 | // cfg.g_error_resilient = VPX_ERROR_RESILIENT_DEFAULT | VPX_ERROR_RESILIENT_PARTITIONS; | 82 | #if 0 |
83 | cfg.g_error_resilient = VPX_ERROR_RESILIENT_DEFAULT | VPX_ERROR_RESILIENT_PARTITIONS; | ||
84 | #endif | ||
83 | cfg.g_lag_in_frames = 0; | 85 | cfg.g_lag_in_frames = 0; |
84 | cfg.kf_min_dist = 0; | 86 | cfg.kf_min_dist = 0; |
85 | cfg.kf_max_dist = 48; | 87 | cfg.kf_max_dist = 48; |