mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
vtenc: Expected duration is supposed to be the duration of the stream, not a frame
Just don't set it for now, it isn't really needed.
This commit is contained in:
parent
bd050201ba
commit
8c1e84ff71
1 changed files with 0 additions and 12 deletions
|
@ -73,8 +73,6 @@ static void gst_vtenc_session_dump_properties (GstVTEnc * self,
|
|||
VTCompressionSessionRef session);
|
||||
static void gst_vtenc_session_configure_expected_framerate (GstVTEnc * self,
|
||||
VTCompressionSessionRef session, gdouble framerate);
|
||||
static void gst_vtenc_session_configure_expected_duration (GstVTEnc * self,
|
||||
VTCompressionSessionRef session, gdouble duration);
|
||||
static void gst_vtenc_session_configure_max_keyframe_interval (GstVTEnc * self,
|
||||
VTCompressionSessionRef session, gint interval);
|
||||
static void gst_vtenc_session_configure_max_keyframe_interval_duration
|
||||
|
@ -472,8 +470,6 @@ gst_vtenc_create_session (GstVTEnc * self)
|
|||
|
||||
gst_vtenc_session_configure_expected_framerate (self, session,
|
||||
(gdouble) self->negotiated_fps_n / (gdouble) self->negotiated_fps_d);
|
||||
gst_vtenc_session_configure_expected_duration (self, session,
|
||||
(gdouble) self->negotiated_fps_d / (gdouble) self->negotiated_fps_n);
|
||||
|
||||
status = VTSessionSetProperty (session,
|
||||
kVTCompressionPropertyKey_ProfileLevel,
|
||||
|
@ -586,14 +582,6 @@ gst_vtenc_session_configure_expected_framerate (GstVTEnc * self,
|
|||
kVTCompressionPropertyKey_ExpectedFrameRate, framerate);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_vtenc_session_configure_expected_duration (GstVTEnc * self,
|
||||
VTCompressionSessionRef session, gdouble duration)
|
||||
{
|
||||
gst_vtenc_session_configure_property_double (self, session,
|
||||
kVTCompressionPropertyKey_ExpectedDuration, duration);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_vtenc_session_configure_max_keyframe_interval (GstVTEnc * self,
|
||||
VTCompressionSessionRef session, gint interval)
|
||||
|
|
Loading…
Reference in a new issue