mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
x264enc: If FPS is available, set VFR to false
https://bugzilla.gnome.org/show_bug.cgi?id=708940
This commit is contained in:
parent
556055e2f1
commit
fc29cbaa54
1 changed files with 1 additions and 0 deletions
|
@ -1360,6 +1360,7 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
|
|||
}
|
||||
} else {
|
||||
/* FPS available so set it up */
|
||||
encoder->x264param.b_vfr_input = FALSE;
|
||||
encoder->x264param.i_fps_num = info->fps_n;
|
||||
encoder->x264param.i_fps_den = info->fps_d;
|
||||
encoder->x264param.i_keyint_max =
|
||||
|
|
Loading…
Reference in a new issue