mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
vtenc: Use 0 instead of G_MAXDOUBLE as the max keyframe interval
0 means no limit, which was meant here with G_MAXDOUBLE probably.
This commit is contained in:
parent
8c1e84ff71
commit
31476a3c46
1 changed files with 1 additions and 2 deletions
|
@ -483,8 +483,7 @@ gst_vtenc_create_session (GstVTEnc * self)
|
|||
"kVTCompressionPropertyKey_AllowTemporalCompression => %d", (int) status);
|
||||
|
||||
gst_vtenc_session_configure_max_keyframe_interval (self, session, 0);
|
||||
gst_vtenc_session_configure_max_keyframe_interval_duration (self, session,
|
||||
G_MAXDOUBLE);
|
||||
gst_vtenc_session_configure_max_keyframe_interval_duration (self, session, 0);
|
||||
|
||||
gst_vtenc_session_configure_bitrate (self, session,
|
||||
gst_vtenc_get_bitrate (self));
|
||||
|
|
Loading…
Reference in a new issue