summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/render.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libhb/render.c b/libhb/render.c
index 274314e02..856e46719 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -246,12 +246,16 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
}
else if( result == FILTER_DROP )
{
- hb_fifo_get( pv->subtitle_queue );
- buf_tmp_in = NULL;
if( job->vfr )
{
pv->frames_to_extend += 4;
pv->dropped_frames++;
+ hb_fifo_get( pv->subtitle_queue );
+ buf_tmp_in = NULL;
+ }
+ else
+ {
+ buf_tmp_in = buf_tmp_out;
}
break;
}