diff --git a/pkg/codec/x264/bridge.h b/pkg/codec/x264/bridge.h index 0e0f5fb..d327285 100644 --- a/pkg/codec/x264/bridge.h +++ b/pkg/codec/x264/bridge.h @@ -47,7 +47,7 @@ Encoder *enc_new(x264_param_t param, char *preset, int *rc) { e->param.b_repeat_headers = 1; e->param.b_annexb = 1; - if (x264_param_apply_profile(&e->param, "baseline") < 0) { + if (x264_param_apply_profile(&e->param, "high") < 0) { *rc = ERR_APPLY_PROFILE; goto fail; } @@ -95,4 +95,4 @@ void enc_close(Encoder *e, int *rc) { x264_encoder_close(e->h); x264_picture_clean(&e->pic_in); free(e); -} \ No newline at end of file +}