Support for I-Frame Request
gstreader
reachtoarpi at gmail.com
Tue Jan 15 00:38:43 PST 2013
I know there is an event GstForceKeyUnit to handle dynamic
key-frame/I-frame request.
Could some one explain me what these
portion of code does in gstx264enc.c in gst-plugins-ugly-0.10.18 ??
if (gst_structure_has_name (s, "GstForceKeyUnit")) {
/* Set I frame request */
GST_OBJECT_LOCK (encoder);
encoder->i_type = X264_TYPE_I;
encoder->forcekeyunit_event = gst_event_copy (event);
GST_EVENT_TYPE (encoder->forcekeyunit_event) =
GST_EVENT_CUSTOM_DOWNSTREAM;
GST_OBJECT_UNLOCK (encoder);
forward = FALSE;
gst_event_unref (event);
}
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Support-for-I-Frame-Request-tp3712826p4657921.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list