mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +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);
|
VTCompressionSessionRef session);
|
||||||
static void gst_vtenc_session_configure_expected_framerate (GstVTEnc * self,
|
static void gst_vtenc_session_configure_expected_framerate (GstVTEnc * self,
|
||||||
VTCompressionSessionRef session, gdouble framerate);
|
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,
|
static void gst_vtenc_session_configure_max_keyframe_interval (GstVTEnc * self,
|
||||||
VTCompressionSessionRef session, gint interval);
|
VTCompressionSessionRef session, gint interval);
|
||||||
static void gst_vtenc_session_configure_max_keyframe_interval_duration
|
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,
|
gst_vtenc_session_configure_expected_framerate (self, session,
|
||||||
(gdouble) self->negotiated_fps_n / (gdouble) self->negotiated_fps_d);
|
(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,
|
status = VTSessionSetProperty (session,
|
||||||
kVTCompressionPropertyKey_ProfileLevel,
|
kVTCompressionPropertyKey_ProfileLevel,
|
||||||
|
@ -586,14 +582,6 @@ gst_vtenc_session_configure_expected_framerate (GstVTEnc * self,
|
||||||
kVTCompressionPropertyKey_ExpectedFrameRate, framerate);
|
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
|
static void
|
||||||
gst_vtenc_session_configure_max_keyframe_interval (GstVTEnc * self,
|
gst_vtenc_session_configure_max_keyframe_interval (GstVTEnc * self,
|
||||||
VTCompressionSessionRef session, gint interval)
|
VTCompressionSessionRef session, gint interval)
|
||||||
|
|
Loading…
Reference in a new issue