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:
Sebastian Dröge 2014-09-18 13:45:33 +03:00
parent 8c1e84ff71
commit 31476a3c46

View file

@ -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));