Skip to content
Snippets Groups Projects
Commit 88dd496f authored by Leo Ma's avatar Leo Ma
Browse files

Disable multi-slice for iOS HW decoding


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent ebb92c06
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -516,6 +516,8 @@ static jboolean libenc_openSoftEncoder(JNIEnv *env, jobject thiz) {
x264_param_default_preset(&x264_ctx.params, x264_ctx.preset, "zerolatency");
 
x264_ctx.params.b_repeat_headers = 0;
// for iOS HW decoding
x264_ctx.params.b_sliced_threads = 0;
x264_ctx.global_nal_header = true;
 
// resolution
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment