style: Change files encoding format to UTF8-BOM

This commit is contained in:
yuanyuanxiang
2026-01-02 20:00:18 +01:00
parent ba9be08411
commit b6af9ce615
356 changed files with 2819 additions and 2819 deletions

View File

@@ -1,4 +1,4 @@
#include "X264Encoder.h"
#include "X264Encoder.h"
#include <string.h>
#include <stdio.h>
@@ -37,7 +37,7 @@ bool CX264Encoder::open(int width, int height, int fps, int bitrate)
param.i_threads = 1;
param.i_frame_total = 0;
param.i_keyint_max = 10;
param.i_bframe = 0; //<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
param.i_bframe = 0; //不启用b帧
param.b_open_gop = 0;
param.i_fps_num = fps;
param.i_csp = X264_CSP_I420;
@@ -47,7 +47,7 @@ bool CX264Encoder::open(int width, int height, int fps, int bitrate)
param.rc.i_bitrate = bitrate;
}
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD>profile.
//设置profile.
if (x264_param_apply_profile(&param, x264_profile_names[0])) {
return false;
}