vtenc_h264 causing too many Redistribute latency...

Miki Grof-Tisza mgroftisza at echo360.com
Tue Oct 24 12:50:38 UTC 2017


Hi,

I just wanted to correct my proposed solution to the issue.  I just realized the mistake.

Something like this: (src/applemedia/vtenc.c:1072)

Change:

    gst_video_encoder_set_latency (GST_VIDEO_ENCODER (self), latency, latency);

To: 
    GstClockTime min_latency, max_latency;
    gst_video_encoder_get_latency(GST_VIDEO_ENCODER (self), &min_latency, &max_latency);
    if (latency > max_latency){
    		gst_video_encoder_set_latency (GST_VIDEO_ENCODER (self), min_latency, latency);
    }

-Miki



More information about the gstreamer-devel mailing list