summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/render.c b/libhb/render.c
index 1989199fb..7900ba2ae 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -311,7 +311,6 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
/* Pop the frame's subtitle and dispose of it. */
hb_buffer_t * subtitles = hb_fifo_get( pv->subtitle_queue );
hb_buffer_close( &subtitles );
-
buf_tmp_in = NULL;
break;
}
@@ -413,7 +412,7 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
if( job->vfr )
{
- if( hb_fifo_size( pv->delay_queue ) >= 3 )
+ if( hb_fifo_size( pv->delay_queue ) >= 4 )
{
*buf_out = hb_fifo_get( pv->delay_queue );
}