parent
48a6cd4060
commit
099575056e
@ -138,8 +138,8 @@ xrdp_encoder_x264_encode(void *handle, int session, int left, int top,
|
||||
//x264_param_default_preset(&(xe->x264_params), "superfast", "zerolatency");
|
||||
x264_param_default_preset(&(xe->x264_params), "ultrafast", "zerolatency");
|
||||
xe->x264_params.i_threads = 1;
|
||||
xe->x264_params.i_width = width;
|
||||
xe->x264_params.i_height = height;
|
||||
xe->x264_params.i_width = (width + 15) & ~15;
|
||||
xe->x264_params.i_height = (height + 15) & ~15;
|
||||
xe->x264_params.i_fps_num = 24;
|
||||
xe->x264_params.i_fps_den = 1;
|
||||
//xe->x264_params.b_cabac = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user