All pastes #905248 Raw Edit

Anonymous

public diff v1 · immutable
·published 2008-02-15 17:38 UTC
rendered paste body
Index: libhb/render.c===================================================================--- libhb/render.c	(revision 1261)+++ libhb/render.c	(working copy)@@ -406,10 +406,18 @@      * Keep the last three frames in our queue, this ensures that we have the last      * two always in there should we need to rewrite the durations on them.      */-    if( hb_fifo_size( pv->delay_queue ) >= 3 )+    +    if( job->vfr )     {+        if( hb_fifo_size( pv->delay_queue ) >= 3 )+        {+            *buf_out = hb_fifo_get( pv->delay_queue );+        }+    }+    else+    {         *buf_out = hb_fifo_get( pv->delay_queue );-    } +    }      if( *buf_out )     {