mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
[MOVED FROM BAD 17/28] ext/x264/gstx264enc.c: Adapt to slightly modified x264 API. Fixes #555238.
Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder): Adapt to slightly modified x264 API. Fixes #555238.
This commit is contained in:
parent
8609794cb8
commit
6c0833d099
1 changed files with 5 additions and 0 deletions
|
@ -541,7 +541,12 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
|
|||
encoder->x264param.i_frame_reference = encoder->ref;
|
||||
encoder->x264param.i_bframe = encoder->bframes;
|
||||
encoder->x264param.b_bframe_pyramid = encoder->b_pyramid;
|
||||
#if X264_BUILD < 63
|
||||
encoder->x264param.b_bframe_adaptive = encoder->b_adapt;
|
||||
#else
|
||||
encoder->x264param.i_bframe_adaptive =
|
||||
encoder->b_adapt ? X264_B_ADAPT_FAST : X264_B_ADAPT_NONE;
|
||||
#endif
|
||||
encoder->x264param.b_interlaced = encoder->interlaced;
|
||||
encoder->x264param.b_deblocking_filter = 1;
|
||||
encoder->x264param.i_deblocking_filter_alphac0 = 0;
|
||||
|
|
Loading…
Reference in a new issue