mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
openh264enc: Actually hook up the rate-control property
This commit is contained in:
parent
f5f437b707
commit
c8666c58e8
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ gst_openh264enc_set_format (GstVideoEncoder * encoder,
|
|||
enc_params.iPicWidth = width;
|
||||
enc_params.iPicHeight = height;
|
||||
enc_params.iTargetBitrate = openh264enc->bitrate;
|
||||
enc_params.iRCMode = RC_QUALITY_MODE;
|
||||
enc_params.iRCMode = openh264enc->rate_control;
|
||||
enc_params.iTemporalLayerNum = 1;
|
||||
enc_params.iSpatialLayerNum = 1;
|
||||
enc_params.iLtrMarkPeriod = 30;
|
||||
|
|
Loading…
Reference in a new issue